Office365-REST-Python-Client
Office365-REST-Python-Client copied to clipboard
SharePoint API with certificate flow getting tenant not found error
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
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