cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AlanPs1
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
jlindstrom
Super User
Super User

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.

EricRegnier
Super User II
Super User II

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!

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!


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

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (93,898)