Asp.net Core Azure AD | Azure Ad Authentication



Asp.net Core Azure AD | Azure Ad Authentication

Asp.net Core Azure AD | Azure Ad Authentication

Asp.net Core Azure AD | Azure Ad Authentication
How to add Azure AD Authentication to Asp.net core MVC application in a Super Easy Way? This video has the answer. Visual studio is a great tool to configure Azure AD to asp.net core MVC application. To configure Azure AD to asp.net core web application, We have to modify Startup.cs class and add Authentication & AddMicrosoftWebAppAuthentication, Define policy related to authentication. We need to create an app registration and use those details in Asp.net Core Web Application to configure Azure AD.
App registration will have client_id which can act as an identity to Asp.net Core Web application that uses Azure AD. All the above said steps are needs to be done if you want to add Azure AD to Asp.net core application manually.
———————————————————————————
Configuring Azure AD to Asp.net Core MVC Web Application is super easy if we use visual studio. When we are creating the project, In authentication type, we have to choose Microsoft Identity Platform. Once the project is created, it shows you a page where you can configure the Azure AD identity to your application. If you want to configure AzureAD Asp.net core Web application which is already existing, you can use connected services. Once you click on the “+” symbol, it shows you a popup where you can create/choose existing app registration to configure Azure AD to Asp.net Core Web Application. Once you click on ok button, It will create an app registration on your Azure Active directory and configure those details in Asp.net Core Web Application’s appsettings.json file. Once you run the application, You will be redirected to Azure login page. Once you enter valid credentials It will open landing page of Asp.net Core Web Application Azure AD.

chapters
00:00 Intro
00:30 Configuring Azure AD using Visual Studio
07:20 How Asp.net Core Azure AD Work

Comments are closed.