Microsoft Azure Public Preview Application interface was opened for users in mainland China on June 6. You can apply for a free beta trial, just enter the activation code after you receive the notification email with the invitation code to start your free trial. The specific URL is:
http://windowsazure.cn/zh-cn/pricing/free-trial/
When actually using this account, there are some places that need special attention.
In the PowerShell tool, you need to download a publishing configuration file (Publishsettingprofile) to get the variables that set up the Windows PowerShell environment. After you sign in to the management portal for your Microsoft Azure account, access the following address to get: https://windows.azure.com/download/publishprofile.aspx
For a description of this operation, see:
Http://msdn.microsoft.com/en-us/library/windowsazure/jj554332.aspx
However, when using Windowsazure.cn's account, it was found that publishsettingprofile could not be obtained by the above method.
Upon understanding, the following address is required to obtain:
Https://manage.windowsazure.cn/publishsettings/index
After downloading the comparison, found that there are some differences in the file format.
By https://windows.azure.com/download/publishprofile.aspx, you get the example of the lattice model as follows:
<?xml version= "1.0" encoding= "Utf-8"?> <PublishData> <publishprofile publishmethod= " Azureservicemanagementapi " url=" https://management.core.windows.net/" managementcertificate=" { Subscription ' s Management certificate} " <subscription id=" {Subscription ' s Id} " name=" { Subscription ' s Name} "/> </PublishProfile> </PublishData>
The file format downloaded in Https://manage.windowsazure.cn/publishsettings/index is:
<?xml version= "1.0" encoding= "Utf-8"?> <PublishData> <publishprofile schemaversion= " 2.0 " publishmethod=" Azureservicemanagementapi "> <subscription servicemanagementurl=" https:// management.core.chinacloudapi.cn " id=" {Subscription ' s Id} " name=" {Subscription ' s Name} " Managementcertificate= "{Subscription ' s management certificate}"/> </PublishProfile> </ Publishdata>
Also, we recommend visiting Https://github.com/WindowsAzure/azure-sdk-tools to get the latest Microsoft Azure Powershell, This makes it difficult to get errors when using the command line Import-azurepublishsettingsfile.
Special considerations for managing and developing windowsazure.cn accounts using Windows PowerShell