You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey folks,
We are running some power automate inventory scripts, and part of a script attempts to get flow information. There is an AAD app registration with the correct permissions to SPO. Script is attached.
Script does run the following:
Add-PowerAppsAccount
Connect-PnPOnline -Url $spotenanturl -Tenant $tenantid -ClientId $appid -Thumbprint $certthumbprint
But on line 83 it runs:
$flowuser = Get-PnPAzureADUser -Identity $theflow.CreatedBy.userId -ErrorAction SilentlyContinue
and throws this error: Get-PnPAzureADUser: This cmdlet does not work with a ACS based connection towards SharePoint
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks,
We are running some power automate inventory scripts, and part of a script attempts to get flow information. There is an AAD app registration with the correct permissions to SPO. Script is attached.
Script does run the following:
Add-PowerAppsAccount
Connect-PnPOnline -Url $spotenanturl -Tenant $tenantid -ClientId $appid -Thumbprint $certthumbprint
But on line 83 it runs:
$flowuser = Get-PnPAzureADUser -Identity $theflow.CreatedBy.userId -ErrorAction SilentlyContinue
and throws this error:
Get-PnPAzureADUser: This cmdlet does not work with a ACS based connection towards SharePoint
Customer is running this from a VM jumpbox.
Any help would be greatly appreciated.
PowerAutomate.Get-PowerAutomateDetails.txt
Beta Was this translation helpful? Give feedback.
All reactions