Azure DataSync with SQL Azure databases across subscriptions

时间:2017-08-05 10:56:02

标签: azure-sql-database azure-data-sync

I am trying to synchronise databases in two different subscriptions using Azure datasync on the new portal

https://docs.microsoft.com/en-us/azure/sql-database/sql-database-get-started-sql-data-sync

On the portal, I do not get the ability to choose subscription or connection string to connect to a Azure database on a different subscription (this is not on premise)

The options presented are either
a) Database from existing subscription + database server
b) on-premise database- with a sync agent to be downloaded

Can linking to another database via connection string be implemented via API's or is there any restriction or feature limitation around this?

1 个答案:

答案 0 :(得分:1)

根据您的评论,您的问题是由于您为每个订阅设置了不同的登录信息。为了实现您想要的目标,您需要将各种用户交叉添加到订阅中。

首先,登录Azure门户。导航到您是管理员的订阅。单击Access control (IAM)以管理其权限。 Subscriptions - Access control (IAM)

单击Add按钮,将弹出一个对话框以添加权限。只需选择您要授予的角色(我相信您需要贡献者)并输入您要授予其权限的用户的电子邮件地址。 Adding roles