Endpoints in Microsoft Cloud Germany

(auch in Deutsch verfügbar)

Since the Microsoft Cloud Germany is a separate instance of the global Azure cloud, the endpoints for certain services have to be different. Those endpoints are part of the Azure environments, and the environment for Azure Germany is already shipped with the newer versions of the "Azure Cmdlets for PowerShell":

[code gutter="false"]
PS C:\PowerShell> Get-AzureEnvironment |Select Name

Name
----
AzureCloud
AzureChinaCloud
AzureUSGovernment
AzureGermanCloud

If you take a closer look at the environment you see the new endpoints:

[code]
PS C:\PowerShell> Get-AzureEnvironment -Name AzureGermanCloud

Name : AzureGermanCloud
EnableAdfsAuthentication : False
ActiveDirectoryServiceEndpointResourceId : https://management.core.cloudapi.de/
AdTenant :
GalleryUrl : https://gallery.cloudapi.de/
ManagementPortalUrl : https://portal.microsoftazure.de/
ServiceManagementUrl : https://management.core.cloudapi.de/
PublishSettingsFileUrl : https://manage.microsoftazure.de/publishsettings/index
ResourceManagerUrl : https://management.microsoftazure.de/
SqlDatabaseDnsSuffix : .database.cloudapi.de
StorageEndpointSuffix : core.cloudapi.de
ActiveDirectoryAuthority : https://login.microsoftonline.de/
GraphUrl : https://graph.cloudapi.de/
TrafficManagerDnsSuffix : azuretrafficmanager.de
AzureKeyVaultDnsSuffix : vault.microsoftazure.de
AzureKeyVaultServiceEndpointResourceId : https://vault.microsoftazure.de

With this info you can easily modify ARM templates that have been build for the global cloud (unless they have already been prepared for multi-cloud deployments of course).

For example a lot of ARM templates outside there in the Internet use "concat" to build a storage-URI with the (global) endpoint "blob.core.windows.net". This has to be changed to "blob.core.cloudapi.de" (according to line 13 under StorageEndpointSuffix) - and the deployment runs through (hopefully)...