# Configuring Azure Virtual Network Gateway point-to-site configuration

**URL:** <https://forum.ansible.com/t/configuring-azure-virtual-network-gateway-point-to-site-configuration/8659>\
**Category:** Get Help\
**Tags:** azure, windows\
**Created:** [September 20, 2024, 3:02pm UTC](https://forum.ansible.com/t/configuring-azure-virtual-network-gateway-point-to-site-configuration/8659 "2024-09-20T15:02:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WiK](https://avatars.discourse-cdn.com/v4/letter/w/a698b9/32.png) [@WiK](https://forum.ansible.com/u/WiK)\
**Post date:** [September 20, 2024, 3:02pm UTC](https://forum.ansible.com/t/configuring-azure-virtual-network-gateway-point-to-site-configuration/8659/1 "2024-09-20T15:02:58Z")

</div>

Ansible Version: core 2.17.2

For Context, I’m attempting to automate an Azure lab build. Everything has gone well thus far. However, in Powershell When I run New-AzVirtualNetworkGateway I’m able to specify the point-to-site configuration.

Here is an example:

```auto
-VpnClientProtocol OpenVPN
-VpnClientAddressPool 192.168.1.0/24
-AadTenantUri "https://login.microsoftonline.com/[REDACTED]/"
-AadIssuerUri "https://sts.windows.net/[REDACTED]"
-AadAudienceId "[REDACTED]"

```

It appears that this is not possible from an Ansible Playbook with azure\_rm\_virtualnetworkgateway. Is this correct? It’s possible I’m missing something obvious and would appreciate a point in the right direction.

Thank You,

WiK
