Entra ID app registration
To set up OAuth2 authentication for a SharePoint Online provider using resource owner password credentials, you must specify the client ID and tenant ID of an app registration in Entra ID (formerly Azure Active Directory). You can use an existing app registration or add a new one.
To add or update an app registration, go to the Azure admin center at portal.azure.com and sign in to your organization. In Microsoft Entra ID, select . Select an existing registration, or click to create a new one.
The application (client) ID and directory (tenant) ID that you will enter for the EDM provider in Operations and Regulations are shown under in the app registration's overview.
You must also add a redirect to a URI such as http://localhost. To add a redirect URI, click Add a Redirect URI under (under Mobile and desktop applications) and specify these values:
- Under , select Accounts in this organizational directory only.
- Under , switch Allow public client flows to Yes.
Finally, in the API permissions for the app registration, the permission must be granted.