Skip to content

M365 spo app add 403 Forbidden error #3507

Answered by martinlingstuyl
tabit01 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @tor-axbit,
If you decode the token that's used to call the endpoint, does it actually contain the scopes the endpoint needs?

The CLI is trying to discover your SharePoint online root URL, using the Graph.
You could try working around this by first setting the root url using the m365 spo set command. This is better anyway, you'll need less permissions.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@tabit01
Comment options

@martinlingstuyl
Comment options

@tabit01
Comment options

@martinlingstuyl
Comment options

@tabit01
Comment options

Answer selected by tabit01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants