Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

Failed to get priv user group information.

Posted on by Microsoft Employee

Hello Experts,

We are receiving an error in workflow and system jobs are also failing.

Ours setup is on-premise CRM 2015.

Please share steps to troubleshoot issue.


Failed to get priv user group information. k = 24123fc6-c372-e511-93f8-00155d684a41 privUserGroupId: 4ccc87c4-48bc-4a8e-9fcd-376e270edc45, localSystemAdGuid: fd983183-2bf9-45da-8b90-059590691d27, Exception: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context).

Unhandled Exception: Microsoft.Crm.CrmException: Failed to get priv user group information. k = 24123fc6-c372-e511-93f8-00155d684a41 privUserGroupId: 4ccc87c4-48bc-4a8e-9fcd-376e270edc45, localSystemAdGuid: fd983183-2bf9-45da-8b90-059590691d27, Exception: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context).
at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)
at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)
at Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckPrivilegeGroupForOrganization(WindowsIdentity identity, IOrganizationContext context)
at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetPrivilegedUserCallerAndBusinessGuidsFromThread(WindowsIdentity identity, IOrganizationContext context)
at Microsoft.Crm.Authentication.CrmWindowsIdentity.DoRecognizeUser(String userToken, Guid organizationId, LocatorServiceContext locatorServiceContext)
at Microsoft.Crm.Authentication.BaseCrmIdentity.RecognizeCrmUser(Guid organizationId, LocatorServiceContext locatorServiceContext)
at Microsoft.Crm.Authentication.BaseCrmIdentity.RecognizeCrmUser(Guid organizationId)
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)
Inner Exception: System.Runtime.InteropServices.COMException: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
at Microsoft.Crm.Tools.ActiveDsWrapper.NameTranslateClass.Init(Int32 lnSetType, String bstrADsPath)
at Microsoft.Crm.ADNameUtility.Rfc1779NameFromGuid(Guid guid)
at Microsoft.Crm.SecurityUtils.CheckMembership(Guid principalId, Guid groupId)
at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)

  • H J Shakib Profile Picture
    H J Shakib 85 on at
    RE: Failed to get priv user group information.

    This error "The RPC server is unavailable" somehow is related to the connectivity between your computer and the domain controller.

    Most of the times ipconfig /flushdns or /renew will do the trick.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Failed to get priv user group information.

    Hi buddies. We are experiencing exactly the same issue with on-premise version. We rolled back to 2-3 days ago but no luck. So thie problem shouldn't be because of IIS or the crm server right?

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Failed to get priv user group information.

    Hi All,

    Thanks for your help here. Re-starting the application server helped me to fix this issue.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Failed to get priv user group information.

    Meaning after the installation, any changes to the account run under the CRM Services? Such as domain changes, password expiry, some AD policy changes etc.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Failed to get priv user group information.

    Thanks,

    CRM Asynchronous process is running and also tried re-starting but no luck so far.

    Also request you to please provide more info on - any changes to service account, what exactly needs to check? please guide.

  • GeeBee Profile Picture
    GeeBee 11,397 on at
    RE: Failed to get priv user group information.

    Hi

    Check your CRM Async service is running, as well as find out any change to the service account used for this as well as PrivUserGroup in the AD.

    Please refer the following:

    crmbusiness.wordpress.com/.../crm-2011-failed-to-get-priv-user-group-information

  • Verified answer
    ashlega Profile Picture
    ashlega 34,473 on at
    RE: Failed to get priv user group information.

    Hi,

     try restarting the IIS (and, the, CRM services if it does not help). I was not really able to figure out why this was happening in one of our environments (rpc server errors), but restarting the IIS usually helped (Although, sometimes we'd have to reboot the server)

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,459 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans