Office365-REST-Python-Client icon indicating copy to clipboard operation
Office365-REST-Python-Client copied to clipboard

SharePoint API with certificate flow getting tenant not found error

Open psmitak opened this issue 2 years ago • 1 comments

Hi, I am trying to use the SharePoint certificate flow and I could successfully generate certificate and use it. I just wanted to know if only Site.Full.Control.All permission works with API or Site.Read.Write.All also works? I have Site.Read.Write.All set up for the app but getting 'The resource principal not found in Tenant' error.

Thanks, Smita

psmitak avatar Dec 12 '23 14:12 psmitak

Hello Smita,

You need Site.FullControl.All per the documentation below. https://github.com/vgrem/Office365-REST-Python-Client/wiki/How-to-connect-to-SharePoint-Online-with-certificate-credentials

ssmails avatar Feb 15 '24 17:02 ssmails