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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to delete the app-...
Power Apps
Unanswered

How to delete the app-Model-driven?

(0) ShareShare
ReportReport
Posted on 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)
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    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,

  • KOU_813 Profile Picture
    2 on at

    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

    スクリーンショット (678).jpg

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard