I've been trying to create the initial image for the AGS on Azure tech preview.
I've downloaded and installed Azure Powershell, I'm running windows 7 with Powershell 3.0.
I have an MS Azure Subscription and I've created the publishsettings file.
I have an ArcGIS Server 10.2.2 installation folder and the provisioning file.
The first errors I got were from line 357 in the agsAzureVMTools.ps1. The $azModDef variable was looking for Azure.psd1 in this path ....
$azModDef = "C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\ServiceManagement\Azure\Azure.psd1"
Yet on my computer, the path to Azure.psd1 was
"C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ServiceManagement\Azure\Azure.psd1"
I modified agsAzureVMTools.ps1 to point to the correct path and it got a little further.
Now I am getting this message.
Test-AzureName : ForbiddenError: The server failed to authenticate the
request. Verify that the certificate is valid and is associated with this
subscription.
Has anyone experienced this problem before?
Thanks,
Andrew