I have created a Azure AD application and a Web App. The Azure AD Application uses AAD Authentication. This works well. When I go to my URL and I am not authenticated, I hav
What you can do is construct a sign out URI in your application and when the user clicks on the Logout
link or button, you redirect your users to that URI.
The format of a sign out URI is:
https://login.microsoftonline.com/{0}/oauth2/logout?post_logout_redirect_uri={1}
Where {0}
is the Tenant Id or the Azure AD name (something.onmicrosoft.com
) and {1}
is the link to your application where a user will be redirected back after the sign out process is complete at Azure AD end.