Issue:
Unable to get the new connection from classic to ARM VPN
Gateway connected
Cause:
Authentication failure
Resolution:
Use the below commands to get the existing pre-shared key on
the classic VPN gateway and then try to update the same on either sides.
Get-AzureVNetGatewayKey
-VNetName <String>
-LocalNetworkSiteName <String>
[-Profile <AzureSMProfile>]
[<CommonParameters>]
More Information:
PowerShell installation to use classic commands:
Install-Module
-Name PowerShellGet -Force
Install-Module
Azure
Install-Module
Azure -AllowClobber
Import-Module
Azure
Note:
While trying to use the classic subscription via PowerShell,
you might have not seen the subscription listed from the below commands:
Add-AzureAccount
Get-AzureSubscription
To see your classic subscription here, you would have to add
yourself as a co-administrator for the Classic Account which is what you did in
this case.
Documentations for future references:
Žádné komentáře :
Okomentovat
Dotaz, připomínka, oprava?
(pokud máte problém s vložením příspěvku, vyzkoušejte to v prohlížeči Chrome)