I am using SharePoint online and trying to get Site's user id using below REST API:
https://url/sites/list/_api/Web/siteusers#?$select=Id&$filter=substringof('|userloginname',LoginName) eq true
I've tried many libraries, but could successfully athenticate SharePoint online only with Office365-REST-Python-Client. So, would like to stick with same library.
I have gone through the examples provided on GitHub here. Provided examples are only for list item. But, I want to get site user details.
Has anyone done this with Office365-REST-Python-Client library?
Thanks in advance