Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello,
to list the content of a users My Reports folder, we are using the following API call on an external web app, but some users receive an http 403 Forbidden error. So far I have not been able to find out which permissions exactly are needed to successfully make that request.
https://xxx/Reports/api/v2.0/Folders?$filter=Name%20eq%20%27My%20Reports%27
What permission do I need to grant users to resolve this error?
All the best
Solved! Go to Solution.
We were able to solve this by changing the URL to not use the API to find the users My Reports folder, but instead form it through string concatenation. Our working assumption is that the 'folders' endpoint requires Browser permissions on the root folder if no path parameter is given since it would then try to filter starting from root.
They should just need the "My Reports" permission. However I think the actual My Reports folder only gets created the first time the go the report portal so maybe the people getting this error have either not visited the portal or do not have the My Reports permission.
We were able to solve this by changing the URL to not use the API to find the users My Reports folder, but instead form it through string concatenation. Our working assumption is that the 'folders' endpoint requires Browser permissions on the root folder if no path parameter is given since it would then try to filter starting from root.
User | Count |
---|---|
11 | |
9 | |
4 | |
1 | |
1 |