M365 spo app add
403 Forbidden error
#3507
-
Trying to upload a Sharepoint solution to our app registration/tenant via Azure DevOps pipeline. We get a 403 Forbidden error, which we are debugging. Sorry for asking this, I know this forum is not an Azure support provider: does anyone here have experience from similar permission issues? Dump from pipeline run (sorry for missing indentation):
Here is the permissions set for this AppRegistration (to which the Client ID belong):
UPDATE
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
Hi @tor-axbit, The CLI is trying to discover your SharePoint online root URL, using the Graph. |
Beta Was this translation helpful? Give feedback.
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.