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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Upgrade from 8.2 to 9.0 fails with "'Attribute' metadata entity doesn't contain metadata attribute with Name = 'autonumberformat'"

(0) ShareShare
ReportReport
Posted on by 12,163

I've seen only a couple other posts about this and there hasn't seem to be any resolution so I thought I'd start a thread here. Doesn't seem to matter what version of 8.2 it is (from 8.2.2.112 to 8.2.5.4), the Org Import fails when it's trying to "update stored procedures for OOB and Custom Rollup fields", specifically "'Attribute' metadata entity doesn't contain metadata attribute with Name = 'autonumberformat'."

Target version is patched all the way up to the latest version (9.0.10.11)

I have the same question (0)
  • RikHelsen Profile Picture
    42 on at

    Same issue here when i tried importing an organisation. This worked fine before I updated the farm to CRM version 9.0.10.11

    I'm encountering this with multiple organizations, that imported fine before the upgrade 

    Complete error:

    19:32:29| Error| Import Organization (Name=xxx, Id=xxxx) failed with Exception:
    Microsoft.Crm.CrmException: Upgrade Organization with Id=xxx failed with Exception:
    System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction ---> Microsoft.Crm.CrmException: Error in Action: Bin\Microsoft.Crm.SE.DatabaseActions.dll:Execute on attempt 3. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.Metadata.MetadataAttributeMetadataNotFoundException: 'Attribute' metadata entity doesn't contain metadata attribute with Name = 'autonumberformat'.
    at Microsoft.Crm.Metadata.MetadataAttributeInfoCollection.ThrowIfPropertyNameIsInvalid(String metadataAttributeName)
    at Microsoft.Crm.Metadata.PropertyBagMetadataAttributeInfoCollection.get_Item(String name)
    at Microsoft.Crm.Metadata.MetadataBusinessEntity.IsPropertyNull(String propertyName)
    at Microsoft.Crm.Metadata.AttributeUpdateAction.HasStringFieldDefinitionChanged(MetadataBusinessEntity updateData, MetadataBusinessEntity oldData, String attributeName)
    at Microsoft.Crm.Metadata.AttributeUpdateAction.UpdateAttributeTable()
    at Microsoft.Crm.Metadata.AttributeUpdateAction.MetabaseOperation()
    at Microsoft.Crm.Metadata.MetadataHelper.<>c__DisplayClass116_0.<ProcessQueue_metabaseActionsToExecute>b__0()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.Metadata.MetadataHelper.<ProcessQueue>b__110_0()
    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)
    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
    at Microsoft.Crm.Metadata.AttributeService.UpdateSourceTypeMaskInDatabase(Guid attributeId, Int32 sourceTypeMask, ExecutionContext context)
    at Microsoft.Crm.SE.DllMethodActions.UpdateRollupFieldStoredProcedures.UpdateRollupFieldStoredProceduresInternal(ExecutionContext context)
    at Microsoft.Crm.SE.DllMethodActions.UpdateRollupFieldStoredProcedures.Execute()

  • RikHelsen Profile Picture
    42 on at

    First response from microsoft support is not very promising... I'm assuming they are incorrect. 

    Regarding this issue , I was investigating about the error and it seems that in order to import to V9. The organisation 8.2.3 should be in V9 before doing the import to 9.0.10.11
    For example: import into at least a same environment major version,  CRM 2016 (8.1) or CRM 2016 (8.2) ( http://www.dynamicsmonster.com/blogs/post/CRM-365-On-Prem-Import-CRM-2016-Organization/
    I will also do more investigation about this error and give you more details. I will keep you posted 
    Feel free to contact me back if you have any additional related questions or updates.
    in the mean time i've upgraded our QA environment to 9.0.11.9 and can confirm that this doesn't change anything. we keep getting this error when importing an 8.2 organisation into 9.0.11
  • Joe Woltering Profile Picture
    12,163 on at

    Rik,

    I've come across that article as well but I still don't understand what the solution was. Hopefully you can shed some light.

  • RikHelsen Profile Picture
    42 on at

    Just received a second statement from microsoft  that upgrading form 8.2.x to 9.0.10 or higher is not possible.

    this is very bad news as we have installed the 9.0.10 patch on all our environements, and still need to upgrade many 8.2.x installations

  • Joe Woltering Profile Picture
    12,163 on at

    But what about updating to any version, including the base version, 9.00.0002.3034?

  • RikHelsen Profile Picture
    42 on at

    we found workarounds for all issues we had there, updating to 9.0.8 was going pretty nicely eventually.

  • VenkataSrividya Profile Picture
    25 on at

    Hi RikHelsen,

    Could you please provide me the workarounds for the issue below?

    'Attribute' metadata entity doesn't contain metadata attribute with Name = 'autonumberformat'.

    Thank you in advance

  • Joe Woltering Profile Picture
    12,163 on at

    I got that error when I was attempting to import into 9.0.10.11. I uninstalled the Cumulative update (reverting back to 9.0.0002.3034) and did not receive that error any longer.

  • VenkataSrividya Profile Picture
    25 on at

    Can I know how to revert to 9.0.0002 from 9.0.10?

  • Joe Woltering Profile Picture
    12,163 on at

    Assuming you are On-Prem, you would uninstall any Cumulative Updates that are applied.

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 144 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 59

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans