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

'invalid scope' when running get-PnpSiteTemplate #1091

Open
nhoj01 opened this issue Nov 20, 2024 · 0 comments
Open

'invalid scope' when running get-PnpSiteTemplate #1091

nhoj01 opened this issue Nov 20, 2024 · 0 comments

Comments

@nhoj01
Copy link

nhoj01 commented Nov 20, 2024

Hello:

When trying to export a sitetemplate xml with get-PnpSiteTemplate -Out sitetemplate.xml -PersistBrandingFiles -PersistPublishingFiles -Handlers All

on the step Extracting Template from https://indxna.sharepoint.com/sites. [Web Settings]

A new auth window launches and when I sign in I get the error:
AADSTS70011: The provided request must include a 'scope' input parameter. The provided value for the input parameter 'scope' is not valid. The scope https://graph.microsoft.com openid profile offline_access is not valid. The scope format is invalid. Scope must be in a valid URI form https://example/scope or a valid Guid <guid/scope>.

I am connecting using the -interactive with a sharepoint app with delegated permissions
image

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