Skip to content
0:00 / 0:00

#asp.netcore#azureactivedirectory#authentication

Asp.net Core Azure AD | Azure Ad Authentication

AzureTeach•Net

7.7K subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Beginner. No background in the topic needed.

19K views4 years ago2 recommendations

Web developmentSecurityHTTP, REST and GraphQLWeb and application security

How to configure Azure Active Directory authentication in an ASP.NET Core MVC application.

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 Intro Configuring Azure AD using Visual Studio How Asp.net Core Azure AD Work

Why it's here

2 people recommend this

u/develstackerin r/dotnet • Recommends

Super Easy Way | Asp.net Core Azure AD Authentication

u/broken-neuronsin r/softwarearchitecture • Recommends

On “Customer Multi-Tenant Design”

…of users), in which case you would need your own database table to manage that. https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/multi-tenant-user-management-scenarios Microsoft have been putting together a fairly useful amount of documentation around this topic. There’s also a large number of useful YouTube resources. link to this video I recommend getting a consultant to help you design this properly as it can be a huge waste of time and energy if you get it wrong.…