Dear community,
I would appreciate any input for the following problem.
Problem summary
I receive the following warning AADSTS500103 in the event viewer when I test the SharePoint connection from D365 Document management parameters.
How do I add my app registration to the allowed audience(s)?
Event viewer warning (post code snippet failed)
Reproducible steps
- Set up the downloadable VHD for first use
- Open document management parameters in D365 F&O
- Ensure the D365 feature Upgrade SharePoint user authentication is disabled
- Go to tab SharePoint
- Fill default SharePoint Server
- Test SharePoint connection
- Check windows Event Viewer Applications and Services logs>Microsoft>Dynamics>AX-DocumentManagement>Operational
Further analysis
I have already done following steps to resolve the problem:
- App registration
- Add the self-signed certificate issued to aadclient-onebox-locator1-dynamics-com which was created by the shortcut generate self-signed certificate
- Add delegated API permission for Dynamics ERP, Microsoft Graph, SharePoint
- Add application API permission for Dynamics ERP, Microsoft Graph, SharePoint
- Check C:\AOSService\webroot\*.conf files
- Thumbprint of the certificate issued to aadclient-onebox-locator1-dynamics-com is used
- Application (client) ID of the app registration is used


Report
All responses (
Answers (