Medium severitydata source
Power BI Refresh Error:
DF-MSSQL-InvalidCloudType
What does this error mean?
The ADF SQL Server linked service is configured for one Azure sovereign cloud (Public, China, or US Government) but the actual SQL server endpoint belongs to a different cloud. The server FQDN suffix reveals which cloud: .database.windows.net (Public), .database.chinacloudapi.cn (China), .database.usgovcloudapi.net (US Government).
Common causes
- 1The linked service 'Cloud environment' setting is set to Azure Public but the SQL server is in Azure China or Azure US Government
- 2A linked service was copied from a Public cloud ADF factory and reused in a sovereign cloud environment without updating the cloud type
- 3The ADF data factory itself is deployed in a different region/cloud than the SQL server it is connecting to
How to fix it
- 1In ADF Studio, open the SQL Server linked service and locate the 'Cloud environment' or 'Azure cloud type' setting.
- 2Check the server FQDN in the linked service: if it ends in .chinacloudapi.cn, select 'Azure China'; if .usgovcloudapi.net, select 'Azure US Government'; otherwise select 'Azure Public'.
- 3Update the cloud type to match the FQDN suffix and click 'Test connection'.
- 4Re-publish the linked service and trigger a new pipeline run to confirm the fix.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-troubleshoot-guide