web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Configure SharePoint on D365 OneBox (VHD)

(1) ShareShare
ReportReport
Posted on by 2
 
 

Dear community,

I would appreciate any input for the following problem.

 

Problem summary

DISCLAIMER: According to the Microsoft documentation configure SharePoint storage SharePoint is only supported on Microsoft-managed environments.
When you setup the D365 OneBox (VHD) with a freshly created App Registration it will not establish a connection to SharePoint.

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

  1. Set up the downloadable VHD for first use
  2. Open document management parameters in D365 F&O
  3. Ensure the D365 feature Upgrade SharePoint user authentication is disabled
  4. Go to tab SharePoint
  5. Fill default SharePoint Server
  6. Test SharePoint connection
  7. 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:

  1. App registration
    1. Add the self-signed certificate issued to aadclient-onebox-locator1-dynamics-com which was created by the shortcut generate self-signed certificate
    2. Add delegated API permission for Dynamics ERP, Microsoft Graph, SharePoint
    3. Add application API permission for Dynamics ERP, Microsoft Graph, SharePoint
  2. Check C:\AOSService\webroot\*.conf files
    1. Thumbprint of the certificate issued to aadclient-onebox-locator1-dynamics-com is used
    2. Application (client) ID of the app registration is used
 

App registration | API permission

  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 366

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 360 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans