Forum Discussion
idoron_varonis
Dec 16, 2024Copper Contributor
Retrieving information about the SiteUserInfoList using REST API results in a 403 error
I tried to send the following GET request, authenticated as an administrator: https://<tenant-domain>.sharepoint.com/<site_path>/_api/web/lists?$select=Author,BaseTemplate,BaseType,Created,DefaultVi...
idoron_varonis
Dec 17, 2024Copper Contributor
I want to add another detail.
If I send the request using a registered application Bearer token, it fails with 403. (The application is granted all the permissions related to SharePoint).
However, if I log in from the browser, using the tenant administrator, I am able to send the request from the browser and get a valid response.
How could it be?
- michalkornetDec 18, 2024Iron Contributor
hi idoron_varonis , Regarding your questions, I have an idea for point #3. Could you check if the request works when you add a filter statement? _api/web/lists?$filter=Title ne 'User Information List'