The web app connects to D365 F&SCM with its system-assigned managed identity. To allow this connection, register the managed identity of the web app in D365 F&SCM.
For more information, refer to View the service principal for a managed identity and Register a web application with Microsoft Entra ID.
Steps
In the Azure portal, go to Enterprise applications.
Remove the Application type = Enterprise Applications filter, or set the filter to Managed Identities.
With the default filter, managed identities are not shown.
Search for the name of your web app, and copy its Application ID.
Note
Use the Application ID of the managed identity. Do not use the Object (principal) ID that is shown on the Identity page of the web app, or the Application (client) ID of the app registration.
In D365 F&SCM, go to System administration > Setup > Microsoft Entra ID applications.
Click New.
In the Client Id field, enter the Application ID that you copied.
In the Name field, enter the name of the web app.
In the User ID field, enter or select a value.
Note
Make sure this user has sufficient rights. For example, you can use a user with admin rights.
Close the page.