question

BALAKRISHNAA-6881 avatar image
0 Votes"
BALAKRISHNAA-6881 asked BALAKRISHNAA-6881 answered

azure point to site VPN configuration

i have created the VPN gateway and when configuring the point to site , i have the root certificate and address pool
in the menu, I'm unable to save the configuration due save menu is not highlighting 79183-vpn-error.jpg


azure-vpn-gateway
vpn-error.jpg (54.2 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@BALAKRISHNAA-6881 , Please do provide the region and gateway SKU you are working with for further analysis.

0 Votes 0 ·
suvasara-MSFT avatar image
0 Votes"
suvasara-MSFT answered

@BALAKRISHNAA-6881 , This looks like an internal product bug. This requires a deeper investigation, so if you have a support plan, I request you file a support ticket, else please do let us know, we will try and help you get a one-time free technical support. In this case, could you send an email to AzCommunity[at]Microsoft[dot]com referencing this thread and your subscription id.

Thank you for your cooperation on this matter and look forward to your reply.

Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BALAKRISHNAA-6881 avatar image
0 Votes"
BALAKRISHNAA-6881 answered

azure vpn client works only with local admin privileges and for normal user is not working

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

VitalyLitvinchuk-0691 avatar image
0 Votes"
VitalyLitvinchuk-0691 answered BALAKRISHNAA-6881 commented

Hi,
I have same problem, here is my solution:

I could solve it via PowerShell. You have to replace the one where XXX is on your data.

Open PowerShell as administrator.
You have to wait for each command! It can take some time. They answer YES to all questions:


if ($PSVersionTable.PSEdition -eq 'Desktop' -and (Get-Module -Name AzureRM -ListAvailable)) {
Write-Warning -Message ('Az module not installed. Having both the AzureRM and ' +
'Az modules installed at the same time is not supported.')
} else {
Install-Module -Name Az -AllowClobber -Scope CurrentUser
}

Set-ExecutionPolicy Unrestricted
Import-Module -Name Az

$VNetName = "XXXVirtualNetworkName"
$GWSubName = "GatewaySubnet"
$VPNClientAddressPool = "10.1.0.0/26"
$RG = "XXXResourcesGroup"
$GWName = "XXXVirtualNetworkGateway"

$Gateway = Get-AzVirtualNetworkGateway -ResourceGroupName $RG -Name $GWName
Set-AzVirtualNetworkGateway -VirtualNetworkGateway $Gateway -VpnClientAddressPool $VPNClientAddressPool

$XXXXXXYourCertificateName = "XXXXXXYourCertificateName.cer"
$filePathForCert = "C:\XXXYourCertificatePath\XXXXXXYourCertificateName.cer"
$cert = new-object System.Security.Cryptography.X509Certificates.X509Certificate2($filePathForCert)
$CertBase64 = [system.convert]::ToBase64String($cert.RawData)

Add-AzVpnClientRootCertificate -VpnClientRootCertificateName $WedRootCertName -VirtualNetworkGatewayname $GWName -ResourceGroupName $RG -PublicCertData $CertBase64

Set-ExecutionPolicy Restricted

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks from powershell we are able configure the VPN gateway

0 Votes 0 ·