-
I am executing the below PnP Powershell command to get the App Principals registered in the SPO Site: Connect-PnPOnline -Url "SiteURL" -TenantAdminUrl "TenantAdminSiteURL" -UseWebLogin
Get-PnPAzureACSPrincipal -scope Site -IncludeSubsites But I get the below error: What I am doing incorrectly? |
Beta Was this translation helpful? Give feedback.
Answered by
GTE88
Jun 27, 2023
Replies: 1 comment
-
Issue resolved once i used -Interactive instead of -UseWebLogin.Below Script worked for me: Connect-PnPOnline -Url "SiteURL" -TenantAdminUrl "TenantAdminSiteURL" -Interactive
Get-PnPAzureACSPrincipal -scope Site -IncludeSubsites |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
GTE88
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue resolved once i used -Interactive instead of -UseWebLogin.Below Script worked for me: