SharePoint List PowerApps Discovery

SharePoint List PowerApps are Canvas PowerApps but embedded into a SharePoint List. They are a powerful way to extend the out-of-the-box list forms into a full blown PowerApp.

These types of PowerApps can be edited from the list they’re embedded on by clicking on Customize forms:

But what if you have several of these PowerApps distributed in many lists though your organization? The first thing that comes to mind is to go to the PowerApps portal:

Where are my embedded PowerApps?

Well, no luck over here… So where can we find our apps?

Option #1: Cmdlets to the rescue

Using the recently released PowerApps PowerShell Cmdlets ( blog here and docs here ) you could get a list of embedded PoweApps. Keep in mind that you need to use the Administrator module because the regular one will show you the same list as the PowerApps portal.

Using this code you will get the embedded apps:

Get-AdminPowerApp | ForEach-Object { if ($_.Internal.Properties.embeddedApp -ne $null) { "$($_.DisplayName) - $($_.AppName)" } }

Option #2: PowerApps admin center

Go to the admin center, select the environment where your PowerApps are hosted and then go to the Resources tab:

Pitfalls

When creating this post I was able to find some ancient SharePoint List PowerApps lurking around my tenant. I’ve tried to delete those by viewing the options from the admin center but there was none which could let me delete them. Then I tried to delete those by using the Cmdlets.

Get-AdminPowerApp | ForEach-Object { if ($_.DisplayName -match 'Ansina') { Remove-AdminPowerApp -EnvironmentName $_.Internal.Properties.environment.name -AppName $_.AppName } }

This should work right? Nope 😥 the command greeted me with and unknown error: Conflict. So far I haven’t been able to delete those apps.

Those apps belonged to a deleted site collection ( I’ve also tried to empty the SP recycle bin ). Other methods I’ve tried:

Building the details link to get to the PowerApp delete button in the toolbar

https://make.powerapps.com/environments/<environment-guid>/apps/<AppId>/details

for some apps it returned to the main PowerApps portal, for others, the delete button was disabled.

Delete the app through regular PowerShell Cmdlets

Remove-PowerApp <AppId>

but it returned the same Conflict error.

The only thing that works

When in need, delete your PowerApps from the list itself. This is the only method that successfully deletes them: Open List settings, then Form Settings and select “Use the default SharePoint form” and then delete the PowerApp.

Well, I won’t put this to rest. I’ll keep trying to delete these corpses from my tenant.

Got any ideas? please do share in comments 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *