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()