Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

getting Web Service plug-in failed in error while validating SharePoint site from CRM on premise site.

(0) ShareShare
ReportReport
Posted on by 647

Hi,

getting below error while validating existing SharePoint site in Dynamics 365(on premise) with SharePoint 2013 integrated site.

----------------------------------------------------------------------------------------------------------------------------------------------------------------

The Web Service plug-in failed in OrganizationId: 00000000-b89d-4d73-be83-000000000000; SdkMessageProcessingStepId: 22d2846a-8d2e-4e39-a042-c29d5759bbe8; EntityName: sharepointdocument; Stage: 30; MessageName: ValidateUrl; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
   at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
   at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
Inner Exception: System.Threading.SemaphoreFullException: Adding the specified count to the semaphore would cause it to exceed its maximum count.
   at System.Threading.Semaphore.Release(Int32 releaseCount)
   at System.Threading.Semaphore.Release()
   at Microsoft.Crm.ObjectModel.SemaphoreUtility.ReleaseSemaphore(ThreadSafeDictionary`2 organizationSemaphoreMap, ThreadSafeDictionary`2 userSemaphoreMap, ExecutionContext context)
   at Microsoft.Crm.ObjectModel.SharepointWebServerThrottle.ReleaseSemaphores(ExecutionContext context)
   at Microsoft.Crm.ObjectModel.SharePointManagedApiWrapper.TrySharePointCallWithoutClaims(String site)
   at Microsoft.Crm.ObjectModel.SharePointManagedApiWrapper.ValidateSharePointSite(String[] siteUrls, String& validationLog)
   at Microsoft.Crm.ObjectModel.SPCommands.ValidateUrl.Execute()
   at Microsoft.Crm.ObjectModel.SharePointSDKGlobalExecutor`1.Execute()
.

1743616.1.png

*This post is locked for comments

  • CU21081124-0 Profile Picture
    CU21081124-0 2 on at
    getting Web Service plug-in failed in error while validating SharePoint site from CRM on premise site.
    -The identity for the CRMAppPool application pool must have read access to the x509 certificate that will be used for server-based authentication with Dynamics 365 Server and the SharePoint server.
    -In my case CRMAppPool application pool was work on network account when I changed it to the service account that has access on the x509 certificate and has access in SharePoint site, the issue has been solved.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

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,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans