Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-PnPAzureACSPrincipal: The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again. #4701

Open
GTE88 opened this issue Jan 22, 2025 · 0 comments

Comments

@GTE88
Copy link

GTE88 commented Jan 22, 2025

Discussed in #4700

Originally posted by GTE88 January 22, 2025
I am executing the below commands to get the list of SharePoint App principals created using AppRegNew.aspx and are displayed in AppPrincipals.aspx page

Connect-PnPOnline -Url "https://SharePointsiteURL" -TenantAdminURL "https://tenantadminURL" -useweblogin
Get-PnPAzureACSPrincipal -Scope Site

But I get the below error:

Get-PnPAzureACSPrincipal: The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.

I'm executing the command in PowerShell 7 using Tenant admin account.

Kindly assist me resolve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant