Hi,
I am trying to revoke client certificate in Azure resource manager and following the below article, section "Revoke a client certificate".
https://azure.microsoft.com/en-in/documentation/articles/vpn-gateway-howto-point-to-site-rm-ps/
While executing - "Add-AzureRmVpnClientRevokedCertificate -VpnClientRevokedCertificateName $RevokedClientCert1 -VirtualNetworkGatewayName $GWName -ResourceGroupName $RG -Thumbprint $RevokedThumbprint1" , I get the following error.
Add-AzureRmVpnClientRevokedCertificate : Private IP address is required when privateIPAllocationMethod is Static in IP configuration /subscriptions/XXXXXXXXXXXXX/resourceGroups/XXXXXXX/providers/Microsoft.Network/virtualNetworkGateways/XXXXX/ipConfigurations/XXXXX.StatusCode: 400
ReasonPhrase: Bad Request
OperationID : 'xxxxxxxxxxxx'
At line:9 char:1
+ Add-AzureRmVpnClientRevokedCertificate -VpnClientRevokedCertificateName $Revoked ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Add-AzureRmVpnClientRevokedCertificate], NetworkCloudException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Network.AddAzureVpnClientRevokedCertificateCommand
Any idea how to resolve this? I have removed some of the important configuration items from above error message.