web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Unanswered

Can't remove and unmanaged (Active) layer on calculated field.

(1) ShareShare
ReportReport
Posted on by 110

One of my clients has a pile of calculated fields in their production environment with Active (unmanaged) layers at the top.  The Remove Active Layer button does not remove it.

 

Is there another way to peel this mod off?

 

Thanks for any suggestions.

Categories:
I have the same question (0)
  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at
    Re: Can't remove and unmanaged (Active) layer on calculated field.

    Hi @daxjkent,

    You can re-deploy the managed solution and select the option "Overwrite unmanaged customizations" option. More info: https://docs.microsoft.com/powerapps/maker/data-platform/update-solutions#overwrite-customizations-option 

    Hope this helps!

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at
    Re: Can't remove and unmanaged (Active) layer on calculated field.

    Hi @daxjkent,

     

    Could you be trying to remove a calculated field that is dependent on another calculated field in the default solution?  You would not be able to remove this without removing the one at the top level first.  

     

    Example:

    Screen Shot 2021-05-05 at 8.18.44 PM.png

    Not sure if this is it, but hopefully it does it.

     

    Hope this helps.  Please accept if answers your question or Like if helps in some way.


    Thanks,


    Drew

  • DaxjKent Profile Picture
    110 on at
    Re: Can't remove and unmanaged (Active) layer on calculated field.

    Thanks Eric, we did give this a try but no luck.  The Active layer is still sitting on top.  Thanks for the suggestion.

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at
    Re: Can't remove and unmanaged (Active) layer on calculated field.

    Are you sure that these calculated fields are part of that managed solution? They might have been done outside which would explain... If so, I would submit a Microsoft support ticket at: https://admin.powerplatform.microsoft.com/support so they can investigate with there telemetry...

  • Sven Vervynckt Profile Picture
    12 on at
    Re: Can't remove and unmanaged (Active) layer on calculated field.

    Hi @daxjkent 

    I am facing a similar issue. Did you managed to solve it yourself of did you contact Microsoft Support for a resolution? I would be happy to learn how you fixed this issue. 

     

    Kind regards

    Sven V. 

  • DaxjKent Profile Picture
    110 on at
    Re: Can't remove and unmanaged (Active) layer on calculated field.

    We put in a support ticket and got a big run around with a pile of wasted time and no solution.  Nothing they suggested worked so so now we just manage the field in both environments.

     

    I did some testing and if you follow these steps you may have success.

    Remove the unmanaged layer in your managed solution. (It will still appear to be there even after removal)

    Update the field in your development environment, publish and export managed.

    Import into your production environment.

     

    Using this method should update the calculation, even though it appears to not be updated.  Please test and hopefully that works.  If not, you will have to resort to manually managing in production environments.

     

    Good luck.

  • Sven Vervynckt Profile Picture
    12 on at
    Re: Can't remove and unmanaged (Active) layer on calculated field.

    Hi @daxjkent 

    Thanks for your prompt reply. I already did the steps you mentioned but no success. I guess we will also end up managing the field in manually in each of the environments. 

    Have a great weekend!

    Kind regards

    Sven V. 

  • Sven Vervynckt Profile Picture
    12 on at
    Re: Can't remove and unmanaged (Active) layer on calculated field.

    @daxjkent I'm sorry, there was another reason why the value wasn't calculated. I was too fast with my conclusions.

     

    So as you said

    • clicking the "Remove Active Customizations" didn't work
    • However, when I deployed the full Managed Solution to again (in the classic layout and check "Overwrite customizations" it did correct the calculated field. Even tough it still shows up with an Active Unmanaged layer. 
    • Note: when I was trying to re-deploy the calculated field with a Patch, it didn't work. So make sure you are doing it with a full solution. 

    Kind regards

    Sven V. 

  • DirkRe Profile Picture
    4 on at
    Re: Can't remove and unmanaged (Active) layer on calculated field.

    Hello,

     

    I have a similar issue here.

    - When redeploying a full solution with changed field calculations, the new calculations are shown in the designer.

    - the calculation of these fields still use the old formula

    - when changing the formula with '+0' , saving, removing the '+0' again I get an unmanged change, but the formula works.

    This would be no solution to have simple deployment when such manual steps have to be done on the test environment and later on again on the production environment. The whole testing process gets worthless.

     

    Do you know a simple "deploy and go" solution for changing calculated fields?

     

    Kind regards

    Dirk

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at
    Re: Can't remove and unmanaged (Active) layer on calculated field.

    Hi @DirkR, not sure if you resolved this, but is your solution managed or unmanaged in the target environment? Are these calculated fields are part of that managed solution? You can re-deploy the managed solution and select the option "Overwrite unmanaged customizations" option, but notw it might overwrite all your further unmanaged customization which might be problematic. More info: https://docs.microsoft.com/powerapps/maker/data-platform/update-solutions#overwrite-customizations-o... 

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 803 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 314 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 253 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics