Jonathan Alvarez
Jonathan Alvarez
I've also switched to Azure service principal and can access token with saml. `ClientContext.with_access_token` is not working for me. @nmduarte @adambenali Have you guys had any luck on this?
> hostname = '.sharepoint.com' > sitename = 'testme' > resp = requests.get( f'https://graph.microsoft.com/v1.0/sites/{hostname}:/sites/{sitename}:/', > headers=headers, > ).json() @sanjosh Do you have your access token in your headers? I'm trying to...
> > > hostname = '.sharepoint.com' > > > sitename = 'testme' > > > resp = requests.get( f'[https://graph.microsoft.com/v1.0/sites/{hostname}:/sites/{sitename}:/](https://graph.microsoft.com/v1.0/sites/%7Bhostname%7D:/sites/%7Bsitename%7D:/)', > > > headers=headers, > > > ).json() > > >...