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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Error on POST to "CheckSharePointOBOFailure"

(5) ShareShare
ReportReport
Posted on by 25
We have Dynamics 365 with integration to SharePoint Online in GCC. Whenever a user goes to the Documents tab on a record, the browser console log shows an error trying to POST to "https://<domain>.crm.dynamics.com/api/data/v9.0/CheckSharePointOBOFailure" - that results in a 404 (Not Found) error. Anyone have any idea what causes this error? Is it anything to be concerned about? We are investigating why the Documents tab is not auto-refreshing when documents are updated in SharePoint, so were wondering whether this error may be related to that.
I have the same question (0)
  • Verified answer
    Daivat Vartak (v-9davar) Profile Picture
    7,835 Super User 2025 Season 2 on at
    Hello anthony56,
     

    The 404 (Not Found) error when POSTing to /api/data/v9.0/CheckSharePointOBOFailure in your Dynamics 365 (GCC) environment with SharePoint Online integration is interesting and could potentially be related to the auto-refresh issue you're seeing on the Documents tab.

     

    Here's a breakdown of what might be happening and how to investigate:

    Understanding CheckSharePointOBOFailure:

    The endpoint CheckSharePointOBOFailure likely relates to Server-Based SharePoint Integration and specifically the "On Behalf Of" (OBO) authentication flow. OBO is used when Dynamics 365 needs to interact with SharePoint Online on behalf of a user. This often involves passing user context and permissions.

    The purpose of this specific API call seems to be a check for failures or issues within this OBO authentication or authorization process between Dynamics 365 and SharePoint.

     

    Possible Causes for the 404 Error:

    1. Incorrect Endpoint or Typo: While seemingly straightforward, double-check if there might be a slight variation in the endpoint URL for your specific Dynamics 365 GCC environment. However, since it's being generated by the application, this is less likely.

    2. Feature Disablement or Configuration Issue: It's possible that the specific feature or configuration related to this OBO failure check is either disabled or not correctly set up in your Dynamics 365 environment. This could be due to a misconfiguration during the SharePoint integration setup or a subsequent change.

    3. Version Mismatch or Bug: While v9.0 is a mature version, there's a slim possibility of a bug within that specific version, particularly in the context of GCC and SharePoint Online integration. Check if there are any known issues or hotfixes related to SharePoint integration and GCC for your Dynamics 365 version.

    4. Permissions Issue: Although it's a 404 (Not Found) and not a 401 (Unauthorized), there might be an underlying permissions issue preventing Dynamics 365 from accessing or finding this specific API endpoint. This could be related to service principal permissions or how the integration is configured.

       

    5. GCC Specific Behavior: Given that you are in a GCC environment, there might be specific configurations or limitations related to SharePoint integration compared to commercial environments. It's worth checking Microsoft's documentation specifically for Dynamics 365 GCC and SharePoint integration.

       


    6.  

    Is it Anything to be Concerned About?

    A 404 (Not Found) error generally indicates that the requested resource (in this case, the API endpoint) does not exist on the server. This suggests that the functionality trying to call this endpoint might not be working as intended or that there's a configuration issue.

    It could be related to the auto-refresh issue you are observing. If the system is failing to properly check the status of the OBO authentication or any related SharePoint interaction, it might not be receiving the necessary signals to trigger an auto-refresh of the Documents tab when changes occur in SharePoint.

    Troubleshooting Steps:

    1. Review SharePoint Integration Configuration:

      • Go to Settings > Document Management > SharePoint Site. Verify that your SharePoint Online site is correctly configured and validated.
      • Check Settings > Document Management > Document Management Settings. Ensure the entities you expect to see documents for (like the current record you're on) are selected.
      • Review the Server-Based SharePoint Integration settings to ensure it's enabled and configured correctly for your GCC environment. 

    2. Check Dynamics 365 Audit Logs: Examine the audit logs in Dynamics 365 for any errors related to SharePoint integration or document management. This might provide more context around when this error started appearing.

    3. Inspect Browser Network Tab: Open your browser's Developer Tools (usually F12) and go to the Network tab. Reproduce the action of navigating to the Documents tab on a record. Look for the failing POST request to CheckSharePointOBOFailure. Examine the request and response headers for any additional clues.

    4. Test SharePoint Integration Functionality: Thoroughly test the basic SharePoint integration functionality:

      • Can you successfully create new folders for records in SharePoint from Dynamics 365?
      • Can you upload documents from Dynamics 365 to SharePoint?
      • Can you view documents embedded in Dynamics 365?

      If these basic functionalities are working, it might indicate that the core integration is fine, and the error is related to a specific background check or feature.


    5. Compare with a Working GCC Environment (If Possible): If you have access to another Dynamics 365 GCC environment with SharePoint integration that is working correctly, compare the configuration settings.

    6. Review Microsoft Documentation for GCC: Carefully review the official Microsoft documentation specifically for setting up and troubleshooting SharePoint Online integration with Dynamics 365 in GCC environments. There might be specific steps or considerations that differ from commercial environments.

    7. Consider Raising a Support Ticket with Microsoft: Given that this seems like an internal API endpoint related to the integration, and it's returning a 404, it's quite possible that there's an underlying issue within the Dynamics 365 service in the GCC environment. Raising a support ticket with Microsoft is highly recommended. Provide them with:

       

      • Your Dynamics 365 version (including any updates).
      • That you are in a GCC environment.
      • The exact error message from the browser console.
      • Details of your SharePoint integration setup.
      • The fact that the Documents tab is not auto-refreshing.

      •  

    8.  

    Potential Relationship to Auto-Refresh Issue:

    It's plausible that the CheckSharePointOBOFailure endpoint is part of a mechanism to ensure the user's session and permissions for interacting with SharePoint are still valid. If this check is failing (due to the 404), the system might not be able to reliably monitor for changes in SharePoint on behalf of the user, thus preventing the auto-refresh of the Documents tab.

    In conclusion, the 404 error for CheckSharePointOBOFailure is likely a symptom of an underlying issue with the SharePoint integration in your Dynamics 365 GCC environment and could very well be related to the auto-refresh problem you are experiencing. Thorough investigation of your configuration and potentially raising a support ticket with Microsoft are the best steps forward.

     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more. If you have further questions, please feel free to contact me.
     
    My response was crafted with AI assistance and tailored to provide detailed and actionable guidance for your Microsoft Dynamics 365 query.
     
    Regards,
    Daivat Vartak
  • CU15040832-0 Profile Picture
    2 on at
    Thoroughly investigate the 404 error related to the CheckSharePointOBOFailure endpoint, as it may affect your document integration. Also, checking and reviewing permissions properly may help resolve the auto-refresh issue on the Documents tab!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Pallavi Phade Profile Picture

Pallavi Phade 98

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 60 Super User 2025 Season 2

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans