I want to create a Data Sync group and provision an on-premises database with a Azure cloud database. The on-prem database syncs through SQL Data Sync fine and seems connected on Azure Portal. However when you open the Data Sync Group in Azure Portal I get the following error:
Database provisioning failed with the exception "SqlException ID: 80e7052d-9a80-4b30-95d3-8e2ee4d9604e, Error Code: -2146232060 - SqlError Number:40615, Message: Cannot open server requested by the login. Client is not allowed to access the server. To enable access, use the SQL Azure Portal or run sp_set_firewall_rule on the master database to create a firewall rule for this IP address or address range. It may take up to five minutes for this change to take effect. For more information, provide tracing ID ‘4ba76cd9-8697-4ccd-88da-94014f274d64’ to customer support."
It seems strange to me that the 'client' in the above error can't connect to the server since it's a cloud-to-cloud connection right? How could a conversation between Azure portal (or wherever the data sync group is) and the Azure SQL database be blocked by a firewall?
The cloud database is a member of other data sync groups and the same error comes up too, I'm sure this hasn't always been the case.