PnP Powershell GetPnPflow using asAdmin parameter
As part of the multi tenant app registration for PnP PowerShell deprecated on the 9th September 2024, we need to have our own app registration and grant the required permissions. Read more from Changes in PnP Management Shell registration in Microsoft 365
For the cmdlet Get-PnPFlow it requires permissions Azure: management.azure.com
which is Azure Service Management
Simply adding the permission as it does not require admin consent and executing the cmdlet below yields no results
get-pnpflow -AsAdmin
Grant Admin Consent not needed
Granting admin consent to the permission Azure: management.azure.com
helps to retrieve the relevant results.