Scanning the Power Platform

By default, the Power Platform does not allow service principals to use its API’s, but this can be enabled easily.

To allow M365Permissions to scan PowerApps, Flows etc:

  1. Note the GUID of the service principal you’re using to scan with (a.k.a. the app id or client id)
  2. Open a powershell window
  3. Run the following code:
Install-Module -Name "Microsoft.PowerApps.Administration.PowerShell"

Add-PowerAppsAccount

New-PowerAppManagementApp -ApplicationId {APPID}

Where you replace {APPID} with the GUID from step 1

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

1 Comment
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
trackback

[…] 1.2.2 adds scanning of PowerApps and Flows! Only when using SPN auth. (setup instructions) […]