web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Unable to update an on prem Organisation from 9.0.x to 9.1.x

(0) ShareShare
ReportReport
Posted on by 35


Having an issue updating one of our Organisations from 9.0.x to 9.1.x, All updated fine. apart from one, which gives following error in the log

2022-02-02 13:16:32.925|Verbose| End: Check if CRM Solutions are installed. Solutions found = msdynce_AppCommon, msdynce_CRMExtensions
2022-02-02 13:16:32.940| Error| Update Organization with Id=xxxxxxxxxx failed with Exception:
Microsoft.Crm.CrmException: Encountered non-terminal failures during DBUpdates. Failing actions are: CustomControlsCore, BaseCustomControlsCore, SolutionHistoryAPIs, CRMSettingsAPIs, DataModelingExtensions, ApiMessagesExtension, LocalizationExtensionApps, DataServicesExtensions, AppModuleExtensions, ODatav4DataProvider, WebResourcePages, msdyn_PowerConnectors, EnvironmentVariables, MicrosoftFlowExtensionsAnchor, PowerPlatformConnectionReferencesAnchor, msdyn_ContextualHelpAnchor, msdynce_CustomerCareIntelligenceBots_Anchor, msdynce_ClientUtility, msdynce_AppCommonAnchor, msdynce_Activities, msdynce_ServiceLevelAgreementAnchor, msdynce_KnowledgeManagementAnchor, ActivitiesInfra, ServerSideSync, CDSApiExtensions, CustomAPIExtensions, AsyncServiceExtensionsApp, SampleEditorCustomControl, msdyn_CustomControlsExtended, CRMDesigners, msdyn_AISolutionAnchor, msdynce_LeadManagementAnchor, msdynce_ProductManagementAnchor, Scheduling_Anchor, msdynce_MarketingAnchor, msdynce_ServiceAnchor, msdynce_SalesAnchor, msdynce_MarketingServiceAnchor, msdynce_MarketingSalesAnchor, msdynce_SalesServiceAnchor, msdynce_CRMExtensionsAnchor, msdyn_SalesIntegrationsAddOns, msdynce_SalesInsightsAnchor, ActivityFeedsCore, AppforOutlook, SkypeForBusiness, msdynce_OfficeProductivityAnchor
at Microsoft.Crm.Tools.Admin.OrganizationDBUpdateInstaller.ProcessFailedActions()

I have the same question (0)
  • edmunch Profile Picture
    Microsoft Employee on at

    I have seen several resolutions to this issue from not being in the correct 'privusergroup', entities needing to have the offline flag enabled by setting the IsOfflineInMobileClient to 1, and upgrading to v9.1.5.  Do you have any further details in the 'crmdmsnapin' logs aside from what you provided?

  • Suggested answer
    jonessj Profile Picture
    35 on at

    I think I've found the issue, looking up through the logs it states the/my Deployment account is missing some privileges.  Just checked and my User account in this Org is not a Sys Admin.

    However I can't just add in the role as I now get a plugin error when doing so;

    <Message>Assembly content(Microsoft.Dynamics.Marketing.Plugins, Version=9.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) does not match the expected assembly identity (Microsoft.Dynamics.Marketing.Plugins, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35).</Message>

    So will have to wait until Monday when the other Sys admin/Deployment guy comes in and get him to "update" the org from the Deployment Manager  - fingers crossed.

  • suresh p Profile Picture
    1,320 on at

    Hi jonessj,

    Did you get any resolution for this case? I am also facing same issue. Please help me.

    Thanks,

    Suresh.

  • Sky_God Profile Picture
    24 on at

    Upon working through a D365 premise support ticket, it appears to be a product bug. 

    The account which is logged in and running the upgrade needs to be a Deployment Administrator, but as this was also the account which installed the CRM software in the first place, the installer did not correctly allocate this account into the PrivUserGroup in AD (one may need to do this manually and try again). 

    Here is the fuller message with the MS agent:

    "From the error message “Failing actions are: Scheduling_Anchor, msdynce_MarketingAnchor, msdynce_ServiceAnchor, msdynce_SalesAnchor” we see that the first component is Scheduling_Anchor, that is failing for the following:

    Failed to install Scheduling_AnchorException: Microsoft.Crm.PackageDeployment.PackageDeployerException: Package Scheduling_Anchor failed to install on attempt 0.

    System.AggregateException: One or more errors occurred. ---> System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: contextUserId=58f7af22-885a-e711-8045-005056ad0002 has correct privileges but allowImpersonationOfOrganizationSystemUser == false. Parameter'user'=1a7efc98-66c5-49c5-8579-2511f4915d1d, callerId=1a7efc98-66c5-49c5-8579-2511f4915d1d.

       at Microsoft.Crm.MultiTenantPackageDeployment.PdExecutor.Process(PackageDeploymentInputArgs input, JobOutput`1 output, CancellationToken ct)

       at System.Threading.Tasks.Task.Execute()

       --- End of inner exception stack trace ---

    ---> (Inner Exception #0) System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: contextUserId=58f7af22-885a-e711-8045-005056ad0002 has correct privileges but allowImpersonationOfOrganizationSystemUser == false. Parameter'user'=1a7efc98-66c5-49c5-8579-2511f4915d1d, callerId=1a7efc98-66c5-49c5-8579-2511f4915d1d. (Fault Detail is equal to Exception details:

    ErrorCode: 0x8004A110

    Message: contextUserId=58f7af22-885a-e711-8045-005056ad0002 has correct privileges but allowImpersonationOfOrganizationSystemUser == false. Parameter'user'=1a7efc98-66c5-49c5-8579-2511f4915d1d, callerId=1a7efc98-66c5-49c5-8579-2511f4915d1d.

    TimeStamp: 2022-08-03T10:07:58.8092769Z

     

    This is because the account that is running the import is not part of the PrivUserGroup. Please, could you try to add this account there and retry? The other components could be related to some relations between the first one so let’s fix first this one and see if the others are still failing."

     

    You can follow the steps in Add a new Deployment Administrator | Microsoft Docs to add the user to PrivUserGroup."

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
11manish Profile Picture

11manish 36

#2
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 32

#3
ManoVerse Profile Picture

ManoVerse 30 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans