[BUG] Get-PnPAzureACSPrincipal Insufficient privileges error when -Scope is Tenant or All #4385
Unanswered
Ron-Rohlfs
asked this question in
General
Replies: 1 comment 1 reply
-
Maybe you are missing some permissions on the EntraID app or the account that you are using doesn't have SP admin permissions ? ![]() ![]() |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Notice
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:
Invoke-PnPSiteTemplate
orGet-PnPSiteTemplate
? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues.Reporting an Issue or Missing Feature
Get-PnPAzureACSPrincipal returns resuts without expiration dates (ValidUntil) as expected. Attempts to run Get-PnPAzureACSPrincipal -Scope Tenant or Get-PnPAzureACSPrincipal -Scope All returns:
Get-PnPAzureACSPrincipal: Insufficient privileges to complete the operation.
Expected behavior
Expect results that include expiration dates (ValidUntil).
Actual behavior
Get-PnPAzureACSPrincipal: Insufficient privileges to complete the operation.
Steps to reproduce behavior
Connect-PnPOnline -Url "https://xxxxxx-admin.sharepoint.com" -ClientId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
(enter user ans password)
Get-PnPAzureACSPrincipal -Scope Tenant;
Get-PnPAzureACSPrincipal: Insufficient privileges to complete the operation.
What is the version of the Cmdlet module you are running?
2.12.0
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions