Onboarding Microsoft Entra ID users with support for Microsoft Entra ID Temporary Access Pass (TAP)
Guest users are sent Graph invitations, ME ID members can be onboarded using passwordless or the old password way.
- [good] A member user flow with TAP and FIDO2 authentication
- [good] A member user flow with password using email/password authentication
- [good] A member user flow with password setup and a phone authentication
- [good] A guest user flow with federated login
- [good] A guest user flow with Microsoft account
- [good] A guest user flow with email code
- A guest user flow with phone login (is this possible?)
- Add documentation of the different onboarding flows
- Evaluate or switch to delegated Graph permissions
- Evaluate this with a Multi-tenant App Registration using delegated flows
Note: TAP only works with members and a passwordless authentication once setup
Users are created on the tenant with a known or registered domain. The member user can use a TAP to onboard or a password.
When using TAP, no password is returned and the user must register a FIDO2 key, etc.
And email with a domain unknown or not registered on the tenant will be created using an invite.
TAP cannot be used for guests.
Note for live or Microsoft accounts the security info is at:
https://account.microsoft.com/security
Application
- User.EnableDisableAccount.All
- User.ReadWrite.All
- UserAuthenticationMethod.ReadWrite.All
Add this to the user secrets for local development with the values from your Azure App registration. Use an Azure Key vault for deployments and move the certificates or Managed identities.
"AzureAd": {
"ClientSecret": "--your-secret--"
},
"MicrosoftEntraIDGraph": {
"ClientSecret": "--your-secret--"
}
Replace the configurations with the data from your Azure App registrations.
- 2024-06-22 Updated packages
- 2023-12-31 .NET 8, Updated packages
- 2023-11-03 Updated packages
- 2023-08-27 Updated packages, Graph 5
https://learn.microsoft.com/en-us/graph/authenticationmethods-get-started
https://damienbod.com/2022/03/11/create-azure-b2c-users-with-microsoft-graph-and-asp-net-core/
https://www.youtube.com/watch?v=SuBeZ9VH8dI&t=1207s
Polly