次の方法で共有


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)...

Comments

  • Anonymous
    January 18, 2017
    Hi - is there a different way to login to the Germany Azure powershell?I have a .de Azure domain but can't get into the powershell
    • Anonymous
      January 18, 2017
      find a link to the "First Steps with PowerShell in Azure" on the right with all information you need..
    • Anonymous
      February 13, 2017
      Add-AzureRmAccount -EnvironmentName AzureGermanCloud
      • Anonymous
        February 14, 2017
        or Add-AzureAccount -Environment AzureGermanCloud for ASM. Pls. note the parameter here is "Environment" and not "EnvironmentName" as for ARM.