Hi @Harish,
Greetings!
Does Azure Virtual Network Gateway cache authentication settings? If so, how can we force it to recognize the new App Registration settings immediately?
No, the Virtual Network Gateway does not cache authentication settings. Changes to the App Registration (Client ID) should take effect immediately. Please regenerate and redistribute the VPN client profile to ensure clients use the latest settings after the audience ID is updated on the Azure VPN P2S.
Are there additional configuration changes required to restrict access only to users assigned in the new App Registration?
Please change the settings on the app registration to Set User assignment required? to Yes in the Enterprise Application (Azure AD --> Enterprise Apps --> Azure VPN --> Properties).
- If this option is set to yes, then users and other apps or services must first be assigned this application before being able to access it.
- If this option is set to no, then all users will be able to sign in, and other apps and services will be able to obtain an access token to this service.
Is there a way to verify which App Registration Azure VPN is actually using for authentication?
Go to the VPN client, select the diagnose option, and then choose the show logs directory. There, you will find the App Registration ID in the logs.
Kindly let me know if the issue still persists or if they have any additional questions.
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.