Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Dynamics 365 8.2 organization moved / upgraded to new server - SharePoint integration verification fails

(0) ShareShare
ReportReport
Posted on by 488

I have just migrated a Dynamics 365 8.2 Organization (On-Premise) to a new server with Dynamics 365 v.9 (upgrade during import of organization). This Organization also has a SharePoint (2016 On-Premise) integration, but the SharePoint server is staying as it is. I was hoping to get the SharePoint site / integration validated on the new Dynaics 365 server, but that seems to not work. I have followed the same guide as I did on the old server: https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/administering-dynamics-365/dn949332(v=crm.8)?redirectedfrom=MSDN

I have verified and gone though the Microsoft documentation several times. Checked permissions, certificates etc and everything seems to be normal. But when I try to validate the SharePoint site I get the following error message:

1856.pastedimage1605720143122v1.png
7041.pastedimage1605774833210v1.png

I cant find any error messages in the event log on either Dynamics 365 server or the SharePoint server, but when I enabled tracing on the Dynamics 365 server I get this error message in the log:

>Crm Exception: Message: Failed to connect to SharePointSite., ErrorCode: -2147088543, InnerException: Microsoft.Crm.CrmException: Failed to connect to SharePointSite.
at Microsoft.Crm.ObjectModel.SharePointManagedApiWrapper.GetClientContext(Uri sharePointSite, Boolean addClaims)
at Microsoft.Crm.ObjectModel.SharePointDataProcessor.Setup(String siteUrl, String documentLocation, String referencedEntity, ExecutionContext userContext)
at Microsoft.Crm.ObjectModel.SharePointDataProcessor.ValidateSharePointFolder(String[] folderUrls, List`1 locationId, Int32 parentType, ExecutionContext context)
at Microsoft.Crm.ObjectModel.SPCommands.ValidateUrl.execute()
at Microsoft.Crm.ObjectModel.SharePointSDKGlobalExecutor`1.execute()
[2020-11-18 16:52:39.122] Process: w3wp |Organization:c2529bf4-6d41-49e1-9a8b-6fc2f401097d |Thread: 20 |Category: Platform |User: 70054d77-9a10-e811-80d1-0050569c4ec3 |Level: Error |ReqId: 6d624ed5-8eaa-44da-8e4b-c9a9475a9169 |ActivityId: 27908da9-6c59-43f2-bdb9-a033e4163ea2 | MessageProcessor.Execute ilOffset = 0x237
>MessageProcessor fail to process message 'ValidateUrl' for 'sharepointdocument'.
[2020-11-18 16:52:40.773] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 16(MSCRM:-NotificationManager.NotificationWatcherThreadProc) |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 00000000-0000-0000-0000-000000000000 |ActivityId: 0092c4e0-114b-4e4e-882a-6ddbd12f3364 | <>c__DisplayClass8_0.<ProcessQueue>b__0 ilOffset = 0x2B

Any help with this problem is very much appreciated :-)

  • MLarsen Profile Picture
    MLarsen 488 on at
    RE: Dynamics 365 8.2 organization moved / upgraded to new server - SharePoint integration verification fails

    Funny thing.. If I hit the OK button on the error message and then hit the Next button, I could go throught the wizard creating a new sharepoint integration, type in the same URL as the one I want to activate and it gets verified. Then I just hit the Cancel button and try to verify the original sharepoint site again and then it went green / verified. So weird.

  • MLarsen Profile Picture
    MLarsen 488 on at
    RE: Dynamics 365 8.2 organization moved / upgraded to new server - SharePoint integration verification fails

    Hello. A little update on this case.

    There is 2 CRM Organizations on the same CRM-server. One Test and one Production. If I try to integrate the same SharePoint site on the other (Test) Organization it gets verified. So there can't be any wrong configurations on the CRM server or the SharePoint server, there has to be something strange with the Production Organization, but what and why...

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans