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 can we delete depe...
Power Apps
Answered

How can we delete dependencies whose object type is app action?

(0) ShareShare
ReportReport
Posted on by 73

Hi,

 

We are trying to delete a Dataverse table which is no longer necessary.

It is to be deleted from the environment.

 

We deleted its dependencies of relationships, choices, model driven apps, component libraries and all.

But, only dependencies, type of which are 'app action', cannot be deleted.

 

We assume these dependencies are of command buttons on a command bar of model driven app.

(We created 3 buttons, and three app action dependencies are left undeletable.)

We surely deleted all command buttons from the component library.

 

How can we delete these dependencies?

 

Any tips are appreciated.   

  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @HiroakiSasaki 

    Can you provide a screenshot of the dependencies error message while deleting?

     

  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @HiroakiSasaki 

    Please check the below list of dependencies type it may help you identify the dependency you need to move.

    https://learn.microsoft.com/en-us/power-apps/developer/data-platform/reference/entities/dependency#dependentcomponenttype-choicesoptions

     

  • Verified answer
    Prakash4691 Profile Picture
    1,332 on at

    Hi @HiroakiSasaki ,

    For every command bar button component library gets created, with that it creates app action and model driven app element as dependencies. As per the SS, model driven app element is nothing but a button which can be deleted from the command bar from front end but app action we can't. It needs to be removed from backend for that you can use CRM rest builder. Generate delete request and remove appaction.

    Prakash4691_0-1676676294596.png

    From CRM rest builder, first get proper ID of appaction using retrieve multiple request as shown in below SS. After finding the ID perform delete request, then all the dependency will get removed for the component library.

    Prakash4691_1-1676676629550.png

    Prakash4691_2-1676676685729.png

    I hope it resolves your issue. If it does, kindly give kudo and accept it as solution.

     

    Regards,

    Prakash

     

  • HiroakiSasaki Profile Picture
    73 on at

    @Mira_Ghaly 

    The issue was solved by following the steps @Prakash4691 has shown.

     

    But, thank you for sharing the information anyway.

    I'll keep the link in my reference list for another rainy day. 

  • HiroakiSasaki Profile Picture
    73 on at

    @Prakash4691 
    Thank you very much. You saved us. Now I came to see how powerful this tool is!

    The table was successfully deleted following your guide.

     

    Regard,

    Hiroaki

  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @Prakash4691 

    That's super brilliant and very helpful

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard