cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jonckhje
Resolver II
Resolver II

Transfer of attribute to another environment fails

Dear friends, readers,

today I was rather startled by our Dynamics (CS in this case). 
When transporting our base environment from DEV to Testing, system returns:

 

 

 

The uninstall operation will delete the base layer for the 
component 'Attribute' with id '4e57afc6-2fe4-42dd-ab82-7f1b869a3861' and name 'edsn_categorie'. 

The operation cannot continue because there are other managed layers over the base layer. 
You can use the solution layers to find out which other solutions are blocking the operation.

 

 

 

The message is correct. The field is already present in the system in a managed solution, but that's the same solution as I'm trying to import. There is literarily no reason why it should be deleted.

 

When looking at the attribute now, ofcourse there is another layer on top of it, which is the _Upgrade solution layer.

I'm lost for now. 

Any thoughts?

 

Thanks a million!
Regards,
Jeroen

6 REPLIES 6

The exactly same thing is happening with me and I don't find a solution

Okay, I'll break up what we did so far, maybe it can help you (and/or me).

The background of this action is that we're using a rather large solution for transfer our base customizations. This solution has grown too large in time and there are a few entities for which "all assets" was checked on adding them. This causes potential problem if Microsoft pushes service updates.

So, we started of to alter the solutions so that only custom fields and forms where included.

For the particular erroneous attribute, I did remove quite some fields from the solution that where completely OOTB and hence already present in the base solution of (in our case) CS.

The first time we tried to transfer the new lean-and-mean solution, the above error occurred.

 

I found out that adding all fields (that I removed earlier) back into the entity solution enables us to transfer the solution. That's nice so our other customizations can be delivered.
But still leaves me with the urge to slender my solution and get rid of OOTB fields. It's a nice to have, that I do realise.

What I found also, is that the GUID of this particular attribute in the target environment differs from the GUID of the source environment. It looks as if the attribute was deleted and re-added in the source environment, but I'm 100% positively sure that isn't the case.

 

Hope this may be of any help to you.

davidyc
Helper III
Helper III

Did you ever find a solution to this? @jonckhje 

@davidyc Unfortunately I haven't. The solution (partially) remains as uncomfortable big.

We did switch to using patches though. That's some kind of solution, I guess, but probably not what you're looking for.

davidyc
Helper III
Helper III

I have resolved the issue I was having. I had the exact same error message as mentioned on the original post for this thread. In my case the attribute mentioned in the error message was a lookup column. The issue had started after removing the table with the lookup and re-adding to my solution, excluding just one relationship which related to another table not in the solution. When exporting the solution after this change, a relationship (the one responsible for the lookup column mentioned in the error) that was included in the solution was not appearing in customisations.xml file. Therefore, the target environment was trying to delete the lookup column since the relationship for the lookup was not present. After removing both tables and re-adding in the source, publishing all changes and exporting for the target, the issue persisted. I would say that this was a bug in the system that should not have happened and that there was no action taken incorrectly was directly responsible. Anyway, the solution was removing both entities in the source environment, publishing all customisations, re-adding the entity that contained the lookup, publish all customisations, then re-add the parent entity (the one the first entity is looking up to) and publishing all customisations, export and check the customisations.xml to find the relationship is now present. Therefore, the solution appears to be a combination of the order in which the 2 entities were added into the source solution (after having made a small change to one of the entities) AND  publishing all customisations after every change.

 

Unfortunately, I don't know exactly what was happening behind the scenes but the error is gone and I was able to complete the import. I have wondered before whether the order in which components are added to a solution impacts how the system is 'aware' of dependencies, but I've not found anything conclusively on that topic. If anyone reading understands this better, I would appreciate your thoughts on it.

Thanks a lot, just followed your workaround and it worked here. 🙂

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!   This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions in the Forums to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersNumber of SolutionsSuper UsersNumber of Solutions @anandm08  23 @WarrenBelz  31 @DBO_DV  10 @Amik  19 AmínAA 6 @mmbr1606  12 @rzuber  4 @happyume  7 @Giraldoj  3@ANB 6 (tie)   @SpongYe  6 (tie)     Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersSolutionsSuper UsersSolutions @anandm08  10@WarrenBelz 25 @DBO_DV  6@mmbr1606 14 @AmínAA 4 @Amik  12 @royg  3 @ANB  10 @AllanDeCastro  2 @SunilPashikanti  5 @Michaelfp  2 @FLMike  5 @eduardo_izzo  2   Meekou 2   @rzuber  2   @Velegandla  2     @PowerPlatform-P  2   @Micaiah  2     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 3:Community MembersSolutionsSuper UsersSolutionsPower Apps anandm0861WarrenBelz86DBO_DV25Amik66Michaelfp13mmbr160647Giraldoj13FLMike31AmínAA13SpongYe27     Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 4:Community MembersSolutionsSuper UsersSolutionsPower Apps DBO-DV21WarranBelz26Giraldoj7mmbr160618Muzammmil_0695067Amik14samfawzi_acml6FLMike12tzuber6ANB8   SunilPashikanti8

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (1,902)