Skip to main content

Notifications

Power Apps - Microsoft Dataverse
Suggested answer

Delete Alternate Key from Managed Solution

Like (1) ShareShare
ReportReport
Posted on 18 Sep 2024 22:29:52 by 19
Our team needs guidance on deleting an Alternate Key from a Managed Solution.
 
We started by removing the Alternate Key from the original Unmanaged Solution in the source environment. We also deleted the Alternate Key from the source environment. Then we published the Unmanaged Solution and exported to a Managed Solution from our source environment.
 
Then, we imported the Managed Solution (related to the original solution) into the target environment. Once we Publish All Customizations, many components that we removed were missing as expected from the target environment... except for a particular Alternate Key on the "Name" column.
 
We are using the "Upgrade" option to import the solution.
 
If we knew it was this much trouble to remove an Alternate Key, we would have avoided it originally.
 
We have also tried XRMToolBox Alternate Key Manager. This option failed silently without any error message.
  • Suggested answer
    fedops Profile Picture
    fedops 19 on 20 Sep 2024 at 13:44:49
    Delete Alternate Key from Managed Solution
    Thanks for your response. I changed the major version so see if that helped. I received the same results.
     
    We may have to create a Microsoft ticket because Upgrade is supposed to delete all components missing from the import solution as I understand it.
  • Shashank Bhide Profile Picture
    Shashank Bhide 927 on 19 Sep 2024 at 04:50:56
    Delete Alternate Key from Managed Solution
    What you did is the right way, and upgrade should work for any item in a solution, I'll suggest trying one more time by incrementing the version and check if any item in the managed solution in the target has an active layer of customization, if it still didn't work then raise a support ticket with MS

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

Kickstarter Events…

Register for Microsoft Kickstarter Events…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #13 Writing Effective Answers…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,769

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,466

Leaderboard

Featured topics

Loading started