SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.25k stars 1.01k forks source link

Working with SPO service principal throws 'access token missing or malformed' #6898

Open Ralmenar opened 3 years ago

Ralmenar commented 3 years ago

Category

Question

I openend this issue in the m365 cli github and @waldekmastykarz suggested that maybe this is because an API limitation. Defininetly not something they can help with in the m365 cli or PnP.PowerShell group, which are the two different approaches I tried.

Is this indeed an API limitation or are we missing something?

Environment details (development & target environment)

ghost commented 3 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

phillipharding commented 2 years ago

I've also observed this behaviour attempting to retrieve the list of SPFx permission grants using either M365 CLI or PnP.PowerShell, using an app-only identity with certificate