Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Dynamics CRM 2016 On-Prem Workflow Not Working

$
0
0

Hi All,

On our Dynamics CRM 2016 On-Prem instance, none of the workflows work. Each time we get the following error "The userID associated with the current record is not valid"

Unhandled Exception: Microsoft.Crm.CrmException: The user Id(s) [e8b81f7b-870b-441a-b525-9e5b9d2b414a] is invalid.
   at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetPrivilegedUserCallerAndBusinessGuidsFromThread(WindowsIdentity identity, IOrganizationContext context)
   at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId, LocatorServiceContext locatorServiceContext)
   at Microsoft.Crm.Extensibility.InternalSdkContextInitializer.SetHttpContext(WindowsIdentity windowsIdentity, Guid organizationId, Guid callerId)
   at Microsoft.Crm.Extensibility.InprocessServiceProxy.RetrieveCore(String entityName, Guid id, ColumnSet columnSet)
   at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.Retrieve(String entityName, Guid id, ColumnSet columnSet)
   at Microsoft.Crm.Workflow.WorkflowLoader.LoadWorkflow(Guid workflowActivationId, IOrganizationContext context)
   at Microsoft.Crm.Caching.WorkflowActivationCacheLoader.LoadCacheData(Guid key, IOrganizationContext context)
   at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
   at Microsoft.Crm.Caching.CrmMultiOrgCache`2.CreateAndAddEntryCallback(String itemkey, TValue value, IOrganizationContext context, Object parameter)
   at Microsoft.Crm.CrmCache`1.AddEntry(String key, TValue value, IOrganizationContext context, AddEntryCallback`1 callback, Object callbackParameter)
   at Microsoft.Crm.Caching.CrmMultiOrgCache`2.CreateAndAddEntryWithLock(TKey key, IOrganizationContext context)
   at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
   at Microsoft.Crm.Workflow.ActivityHostBase.StartWorkflow(ICommonWorkflowContext context)


After investigating this particular Id belongs to the System user.

I am logged in nd running the workflow as System Admin.

Any help will be appreciated.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>