I have an angular app which I need to be able to allow users sign up with Azure Active Directory via my .NET Core API.
Is there any decent tutorials that anyone has followed and implemented something like this before?
CodePudding user response:
Let's see how to create a user in Azure portal:
As you can see, display name, alias and the initial password is required for create a user. And in your scenario, you want to have an api which can be called by your angular client to create user in Azure ad, so you can use
It requires you to have an azure ad app and create client secret for the aad app, follow this document to do it. And then you need to add api permission for your aad app, follow this document to add User.ReadWrite.All, Directory.ReadWrite.All
application type api permission.