Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Microsoft Dynamics CRM (on-premises) 9.1 Organization update failed

(0) ShareShare
ReportReport
Posted on by

 After update latest Microsoft Dynamics CRM (on-premises) 9.1, while updating the Organization getting below error

Error: Applying database updates to organization with name = IMS Id=f4fba478-9bb0-4b99-87de-cd7f71796585 failed with Exception:

Microsoft.Crm.CrmException: Error in Action: Bin\Microsoft.Crm.Setup.DiffBuilder.dll:Microsoft.Crm.Setup.DiffBuilder:UpdateMetadata on attempt 3. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SqlClient.SqlException:

The object '_dta_mv_143' is dependent on column 'LogicalName'.

ALTER TABLE ALTER COLUMN LogicalName failed because one or more objects access this column.

  • Suggested answer
    Alton Profile Picture
    5 on at
    RE: Microsoft Dynamics CRM (on-premises) 9.1 Organization update failed

    There are a number of legacy views that can be deleted in the org database.

    Delete the views that are created in schema "MetadataSchema"

    Your update of the org will not fail if you try the organization update again.

  • Community Member Profile Picture
    on at
    RE: Microsoft Dynamics CRM (on-premises) 9.1 Organization update failed

    Hi,

    Maybe you can refer following links:

    stackoverflow.com/.../19461205

    stackoverflow.com/.../dynamics-365-on-premises-v8-2-upgrade-to-v9-fails

    Regards,

    Leah Ju

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans