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 : NhrLuk5D7WwiaGG01567DP
Power Apps - Building Power Apps
Unanswered

How to delete the app-Model-driven?

Like (0) ShareShare
ReportReport
Posted on 23 Apr 2020 06:32:38 by 2

The following error is displayed and cannot be deleted.

 

Failed to delete model-driven app. Principal user (Id=7af90a22-1d72-ea11-a811-000d3a5540ae, type=8, roleCount=2, privilegeCount=616, accessMode=0), is missing prvDeleteAppModule privilege (Id=af523536-9728-4164-9a2d-fbaf85a679d2) on OTC=9006 for entity 'appmodule'. context.Caller=7af90a22-1d72-ea11-a811-000d3a5540ae

 

It seems that the Action Approval Model of the solution is related, but I don't know what to do after this.

 

You cannot directly edit the components within a managed solution. If the managed properties for solution components are set to allow customization, you can edit them from another unmanaged solution.

Categories:
I have the same question (0)
  • KOU_813 Profile Picture
    2 on 27 Apr 2020 at 00:55:37
    Re: How to delete the app-Model-driven?

    Hi v-yutliu-msft,

     

    Thank you for your confirmation.

     

    You will see this error.

    I don't know how to check after this.

     

    Please let me know if you need further information.

    regards,
    KOU

  • v-yutliu-msft Profile Picture
    on 24 Apr 2020 at 06:06:24
    Re: How to delete the app-Model-driven?

    Hi @KOU_813 ,

    Do you mean that you could not delete a model-driven app in managed solution?

    1)Please check your permission of the environment that the model-driven app belongs to.

    The reason is model-driven apps are actually owned by the organization, not an individual user.

    If your environment permission is not enough, you could ask global admin to assign you enough permission.

     

    2)To delete a model-driven app that was installed in the default solution as part of a managed solution, delete the managed solution.

    Don’t directly delete an app or app’s site map from the default environment that was installed as part of a managed solution. Doing so can lead to failure of a solution upgrade or solution updates for the solution used to install the app.

    You could delete your solution in this way:

    1. Sign in to Power Apps.
    2. On the left navigation, select Solutions.
    3. In the Solutions list, select the managed solution you want to delete and then on the toolbar select Delete.

    Here's a doc about this for your reference:

    https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/delete-model-driven-app

     

     

    Best regards,

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading started