尝试为其他订阅创建防火墙规则时出错 [英] Error when I try to create a firewall rule to a different subscription

查看:190
本文介绍了尝试为其他订阅创建防火墙规则时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我正在使用azure sql并尝试将防火墙规则设置为其他订阅。

I'm using azure sql and trying to set a firewall rule to a different subscription.

drop drown向我显示了不同的订阅,但是当我添加并保存规则时

The drop drown shows me the different subscriptions but when I add and save the rule

我收到此错误 

I get this error 

我是订阅和全球订阅的所有者管理员,这是一个错误吗?

I'm the owner of the subscription and global administrator, is this a bug?


无法更新服务器的vnet规则:ukssaasconfigdb。 ErrorCode:502 ErrorMessage:Azure SQL Server虚拟网络规则遇到
权限错误:对象ID为'xx'的客户端'xxx'无权执行操作'Microsoft.Network/virtualNetworks/taggedTrafficConsumers/validate/action' over scope'/subscriptions/xx/resourceGroups/OPS/providers/Microsoft.Network/virtualNetworks/NET/taggedTrafficConsumers/Microsoft.SQL'.


 


 

推荐答案

你好,



作为一种解决方法,您可以使用PowerShell将防火墙规则添加/更改为不同的订阅。



https://svenaelterman.wordpress.com/2017/07/02/programmatically-setting-azure-sql-database-firewall-rules/



同时我将分享你的发现并尝试获得反馈。



希望这会有所帮助。





问候,

Alberto Morillo

SQLCoffee.com

Alberto Morillo
SQLCoffee.com


这篇关于尝试为其他订阅创建防火墙规则时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆