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 :
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 651

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

I have the same question (0)
  • CU21081124-0 Profile Picture
    2 on at
    -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

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans