cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resident Rockstar
Resident Rockstar

Auditing PowerApps | model Dreven Apps & Portals Using PowerShell or Other Method

Hi all.

 

I am using Get-AdminPowerApp from the Power Platform PowerShell Module and can see the results returned only include CanvasApps.

 

We do not have COE (yet) and I am looking for a method to audit any tenant with 100 or more environments in order to capture data on Model driven apps & also portals.

 

I have access to Flow, MS Graph, Powerapps, PowerShell etc and Global admin access.

 

Can you someone please share with me the best way to get a list of all the model driven apps, the portals and information like createdBy, CreatedTime, ModifiedTime or any data that is accessible please?

 

Thanks in advance. Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


5 REPLIES 5
Highlighted

Re: Auditing PowerApps | model Dreven Apps & Portals Using PowerShell or Other Method

So if you are global admin, you should see all environments. If activity auditing is enabled, you can see audit history of model driven apps. https://docs.microsoft.com/en-us/power-platform/admin/enable-use-comprehensive-auditing

If you as the global admin add yourself as an active user to each environment, you can get the details of the apps and portals.

I'm not aware of tooling that will give you details of model driven apps in your tenant.

Highlighted
Memorable Member
Memorable Member

Re: Auditing PowerApps | model Dreven Apps & Portals Using PowerShell or Other Method

Hi @AlanPs1,

CDS environments now come with Environments and "PowerApps App" entities. You can easily list these environments and related apps with Power Automate for example. The PowerApps App entity has a field name "App type" which you can filter by model-driven:

2020-06-08_19-52-28.png

These are the entities the CoE starter kit uses to govern the apps.

Hope this helps!

Highlighted
Resident Rockstar
Resident Rockstar

Re: Auditing PowerApps | model Dreven Apps & Portals Using PowerShell or Other Method

Hi @EricRegnier 

 

Sorry for the late reply.

You say "You can easily list these environments and related apps with Power Automate for example".

 

I am looking at the common data service connector but can't see a suitable option. Would you mind helping by showing me how you'd do that or naming the connectors and actions please?

 

Thanks for taking the time to reply.

Best wishes,

Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Highlighted
Memorable Member
Memorable Member

Re: Auditing PowerApps | model Dreven Apps & Portals Using PowerShell or Other Method

Hi Alan,

My example was looking at the "PowerApps Apps" entity directly in a model-driven app (or in D365) via Advanced Find. You also have access to that entity in Power Automate "Common data service (current environment)" connector:

2020-07-04_21-54-07.png

Highlighted

Re: Auditing PowerApps | model Dreven Apps & Portals Using PowerShell or Other Method

That entity is only there if you have installed the coe starter kit

https://stevemordue.com/wp-content/uploads/CoE-Starter-Kit-Documentation-and-Setup-Instructions.pdf#...

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (7,497)