Skip to content
Advertisement

Authenticate sharepoint with client_id and client_secret

Since basic user authentication is going away I need to update my auth process. I have tried multiple times but it doesn’t seem to work.

JavaScript

I have registered an app In azure with permissions.

enter image description here

I’m trying to use all the different values I can find here to set client_id and client_secret.

Any tips on how to get access by this method or another with the use of Office365-REST-Python-Client?

https://github.com/vgrem/Office365-REST-Python-Client

enter image description here

enter image description here

Advertisement

Answer

problem was solved with a new update in the library:

https://github.com/vgrem/Office365-REST-Python-Client/blob/master/examples/sharepoint/connect_with_client_certificate.py

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement