Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2023 Release Wave 1Check out the latest updates and new features of Dynamics 365 released from April 2023 through September 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I have been bashing my head against the wall attempting to enable Server-based integration between my D365 9.1 instance and my Sharepoint 2019 on-premises instance.
I have been using the steps based upon this link:
Configure server-based authentication with Customer Engagement (on-premises) and SharePoint | Microsoft Docs
The error we effectively get is "Failed Authentication"
<errorlog><sites><site><url>SERVERNAME/.../CRM-dev<exception>Failed to connect to SharePointSite.</exception><errorcode>-2147088205</errorcode></site></sites></errorlog>
Looking online, that error is exceptionally generic, and leads only into a circular loop where the Sharepoint Integration configuration needs to be checked.
Has anyone experienced this before or anyone who might know a way around it.
I have tried 2x different sharepoint sites with no success.
Our Dynamics 365 instance is 22.214.171.124 (september 2021).
Check the user have the Sharepoint Email Address value populated on the User form.This is publicly documented here:
Hope this helps!
Your suggestion is spot on, I apologise as it something I have likely overlooked in my workings.
The error has progressed now to "Failed Authorization" Error (401).
I will tackle this issue now and report back.
Great, If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.
As you are now getting a 401 Unauthorized I would check that the user(s) have the Email field populated in SharePoint Central Admin- Service Applications - User Profile Service Application - User Profile that the value matches the one set in the SharePoint Email address in CRM.
This is done either by User Profile sync with AD(assuming the user object has the email address that matches) or by editing the User Profile manually.
Thank you for your suggestion Philip, that was perfect.
I needed to edit the user profile manually.
The Sharepoint Site collection is now validated and we can move into config steps.
Thank you again to both yourself and Venkatesh, greatly appreciated.
That's good news.
As I believe you can mark multiple post as answered I'd would be grateful if you did so.
Business Applications communities