Hi,
I was in the session last night where the updated Go Dos were given out. However even with the updates the lab still does not work.
I am at the point where we are to use the PowerShell commands to set the shared key to be the same in each VNET. But it keeps on reporting back that the Local Network is not valid even though it exists.
I have taken screenshots but your “wonderful” form does not allow new users to attach them to this post. This is also very confusing as when raising the issue in the session I was asked to supply the screen shots. How can this be done if the forum for discussing these errors doesn’t allow it?
Text of the message is below:
PS C:> Import-AzurePublishSettingsFile -PublishSettingsFile “D:\Temp\a\Visual Studio Enterprise-9-1-2016-credentials.publishsettings”
Id : 0412ea38-f050-4631-a47a-98ef977db429
Name : Visual Studio Enterprise
Environment : AzureCloud
Account : 93203C370317F06805345465A3F198F25E5B4A50
State :
Properties : {}
PS C:> Set-AzureVNetGatewayKey -VNetName testing-vnet-1 -LocalNetworkSiteName SEAustLAN -SharedKey cloud123
Set-AzureVNetGatewayKey : BadRequest: The specified local network site name ‘SEAustLAN’ is not valid or could not be found.
At line:1 char:1
+ Set-AzureVNetGatewayKey -VNetName testing-vnet-1 -LocalNetworkSiteNam …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: ( [Set-AzureVNetGatewayKey], CloudException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Gateway.SetAzureVNetGatewayKey
PS C:> Set-AzureVNetGatewayKey -VNetName testing-vnet-2 -LocalNetworkSiteName EAustLAN -SharedKey cloud123
Set-AzureVNetGatewayKey : BadRequest: The specified local network site name ‘EAustLAN’ is not valid or could not be found.
At line:1 char:1
+ Set-AzureVNetGatewayKey -VNetName testing-vnet-2 -LocalNetworkSiteNam …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: ( [Set-AzureVNetGatewayKey], CloudException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Gateway.SetAzureVNetGatewayKey