-
Notifications
You must be signed in to change notification settings - Fork 1
Creating the Entra ID App Registration
Timothy Small edited this page Feb 9, 2024
·
2 revisions
In order for AuthUpdateApp
to retrieve users and update their authentication methods, an app registration needs to be set up in your Entra ID tenant.
- Navigate to the App Registrations page on the Entra ID admin portal.
- You can also access it by:
- Navigating to the Entra ID admin portal.
- Expanding the Identity section on the left-hand side.
- Expanding the Applications section under the Identity section.
- Click on App registrations.
- You can also access it by:
- Click on New registration at the top of the page.
- Give the app a unique name and then click the Register button at the bottom of the page.
- Once it creates the app registration, make note of the Application (client) ID and Directory (tenant) ID values on the page.
- Click on API permissions on the left-hand side of the page.
- Click on Add a permission.
- Click on Microsoft Graph.
- Click on Application permissions.
- In the search field, type in
User.Read.All
. Expand the User section and click the checkbox forUser.Read.All
. - In the search field, type in
UserAuthenticationMethod.ReadWrite.All
. Expand the UserAuthenticationMethod section and click the checkbox forUserAuthenticationMethod.ReadWrite.All
. - Click the Add permissions button at the bottom of the pane.
- Click on Grant admin consent and then click the Yes button.
⚠️ Note: This requires your user account to have the necessary permissions to do.
- Click on Certificates & secrets on the left-hand side of the page.
- Click on New client secret and then click the Add button.
- You can optionally provide a description and change the lifetime of the secret.
- Copy the value for the newly created secret and store it somewhere secure.
⚠️ Note: This value is only showed once. If you lose it, you will have to create a new one.