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

Error importing AttributeMap but my component ID doesn't exist?

(0) ShareShare
ReportReport
Posted on by 221

Hello, 

I'm trying to upload an updated solution to my live site and get the 8004f016 error:

A managed solution cannot overwrite the Attribute component 'Partner Category' with Id=eb42813c-9fd0-e911-a812-000d3a0bacd3 which has an unmanaged base instance.  The most likely scenario for this error is that an unmanaged solution has installed a new unmanaged Attribute component on the target system, and now a managed solution from the same publisher is trying to install that same Attribute component as managed.  This will cause an invalid layering of solutions on the target system and is not allowed.

I tried following the steps given here to find a solution, but when I put the ID above into the URL as it suggests, I get the following error message:

"attributemap With Id = eb42813c-9fd0-e911-a812-000d3a0bacd3 Does Not Exist"

It is then followed by a longer error message which I will post below just in case it is relevant.

I haven't made any changes to the field in question, which is an Option Set field. The only change I have made is to a different field in the same Form, which is a 1:N relationship subgrid. All I did was remove it from the Form and as far as I can tell the two are not at all related. However if I remove this field from the solution, I cannot upload it because it says it is required by the Form. 

How can I fix this issue so that I can upload my solution again? Any help is greatly appreciated.

Full error message:

{"error":{"code":"0x80040217","message":"attributemap With Id = eb42813c-9fd0-e911-a812-000d3a0bacd3 Does Not Exist","innererror":{"message":"attributemap With Id = eb42813c-9fd0-e911-a812-000d3a0bacd3 Does Not Exist","type":"System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]","stacktrace":" at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, InvocationContext invocationContext, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext, Dictionary`2 optionalParameters)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataExecutionContext.Execute(OrganizationRequest request)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.RetrieveEntityWithRelatedRecords(CrmODataExecutionContext context, EntityReference primaryEntityReference, String[] columns, RelationshipQueryCollection relatedEntitiesQuery)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.RetrieveEdmEntity(CrmODataExecutionContext context, String edmEntityName, String entityKeyValue, ODataQueryOptions queryOptions)\r\n at Microsoft.Crm.Extensibility.OData.EntityController.GetEntityImplementation(String& entityName, String key)\r\n at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)\r\n at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()"}}}

  • Suggested answer
    Jean Joel Kakou Profile Picture
    on at
    RE: Error importing AttributeMap but my component ID doesn't exist?

    Hello Charlotte West,

    Thank you for sharing on the community Forum.

    I will explain to you the first issue:

    A managed solution cannot overwrite the Attribute component 'Partner Category' with Id=eb42813c-9fd0-e911-a812-000d3a0bacd3 which has an unmanaged base instance.  The most likely scenario for this error is that an unmanaged solution has installed a new unmanaged Attribute component on the target system, and now a managed solution from the same publisher is trying to install that same Attribute component as managed.  This will cause an invalid layering of solutions on the target system and is not allowed.

    This means that you have an unmanaged component and the same unmanaged component is being imported in a managed solution. That will fail.

    Lets say the current solution you are importing in S1 and the component is relationship R1 and its lookup attribute A1.

    The only path forward is to have them delete the unmanaged component R1 and A1 in target org and try again the import.

    However you mentioned that you cannot find the attribute mapping in your target organization but following the setps for resolution, I would suggest that you will have to open a service request and an engineer will help you with your issue with all the correct information.

    To submit your next support request, check out our new Dynamics 365 Help + Support Portal.  The portal is easy to use and provides a support experience tailored to the needs of Dynamics customers. Dynamics 365 administrators can access the portal at admin.powerplatform.microsoft.com.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans