Dynamics365 not accessing Sharepoint (on-prem) - Org wide issue - no changes to environments

Daniel Marinos 0 Reputation points
2025-03-04T19:15:59.8+00:00

SCENARIO

  • User tries to browse to SharePoint via Dynamics 365 document files tab.
  • User gets Unauthorized error

User's image IMPACT This prevents our business users from manually uploading files into SharePoint via Dynamics 365.

TROUBLESHOOTING SO FAR

  • Check other farms -> DEV/UAT farm also experiencing error, so this is not isolated to one server or trust config 
  • Check Power Automate/On-prem Gateway -> working as expected 
  • Check user permissions in SharePoint sites -> permissions configured as expected
  • Check app permissions in SharePoint (appprincipals scope=site) -> looks good 
  • Check user profile service  -> no missing profiles
  • Check email format (case sensitivity)  -> looks good
  • Restart SharePoint WFE server  -> no positive effect 
  • Check unbound IP whitelist -> whitelist is correct  (we verified against published list of Azure IP Ranges 
  • Check SP Server ULS logs -> no obvious errors related to authenticated
  • Check SP Server Event Log -> no auth errors 
  • Test with a new AD account -> no positive effect, same 401 error   
  • Test SharePoint integration in D365 -> configured as expected 
  • Check Trust configuration (Powershell) -> looks good 
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
3,011 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 39,521 Reputation points Microsoft External Staff
    2025-03-06T02:35:31.2833333+00:00

    Hi @Daniel Marinos

    A recent update to Microsoft 365 authentication systems contained a code issue, resulting in impact to some Microsoft 365 apps and services. Currently there might be some users unable to authenticate to Microsoft 365 services. And some users may be unable to use features or access files which leverage Microsoft Purview Information Protection labels.Since this issue need to be checked from background, and our forum doesn't have access to the backend currently. The best way to troubleshoot the issue is to report the issue to M365 admin center Service Health.

    The support team there has the correct escalation channel for this case. This is also the most efficient way in handling this kind of issue. You could report the issue by click

    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.