Quickly Set Up Azure Active Directory with Azure App Services

  • Any user on the AAD will be able to log in.
  • No code to the web app.
  • Using the FREE Tier of Azure App Service Web Apps.

How to Set Up Azure Active Directory with an App Service Web App

Go to the Azure portal and select my web app and click on Authentication / Authorization under Settings to get started.

Click the On button to see the Authentication Provider list and then click Azure Active Directory in the list of providers.

Great. Now click on the Express management mode button and click OK.

Now you’ll need to do one last thing before saving the Authentication / Authorization settings, which is to set the Action to take when a request is not authenticated. You’ll want to make sure that it is set to Log in with Azure Active Directory. This makes sure anyone visiting your site has been authenticated by AAD first. If you are following along and find that you want to use a different AAD tenant (not the Azure account you usually sign into), you can find those steps here: Manually configure Azure Active Directory with advanced settings.

Now you can click the Save button to have AAD added as your Authentication Provider.

Leave a Reply

Your email address will not be published. Required fields are marked *