Hello @kvidhul-3447
Please try these steps
Create a Policy-Config to remove current profileThen try to add the new one
Taken from the link
Follow the steps below to replace with your tenant info
Line 5: Modify the <TrustedNetworkDetection> setting to the DNS suffix, your DHCP server is sending out to your clients. This will be used to determine if a device is connected to the internal network or external. For example: contoso.local. Line 9: Modify the <ServerUrlList> setting. Line 18: Modify the <issuer> setting https://sts.windows.net/TENANTID/. Line 19: Modify the <tenant> setting https://login.microsoftonline.com/TENANTID/. Line 31: Modify the <name> setting. This is the VNET name. Line 41: Modify the <fqdn> setting. This value can be found in the AzureVPN/azurevpnconfig.xml file which is in the downloaded from Azure. Line 46: Modify the <hash> setting. This value can be found in the AzureVPN/azurevpnconfig.xml file which is in the downloaded from Azure. Line 50: Modify the <serversecret> setting. This value can be found in the AzureVPN/azurevpnconfig.xml file which is in the downloaded from Azure.
Save it as new XML file in order to import to OMA URI Setting.
In order to override your existing file:
OMA-URI Setting should be like below:
Name: Give it a name
Description: Give it description
OMA-URI: ./User/Vendor/MSFT/VPNv2/NAME OF YOUR EXISTING PROFILE/ProfileXML
Data Type: String (XML File)
I hope this helps!
Kindly mark the answer as Accepted and Upvote in case it helped!
Regards