A unified data governance solution that helps manage, protect, and discover data across your organization
Hi @Sarhang Hevary
Thanks for the details - this looks like an authorization/permissions issue rather than a problem with the API itself.
The 401 error typically means the request is not getting a valid token with the required permissions.
A couple of things to check:
- Even though you’re a Global Admin, the API you’re calling requires explicit admin consent for the
eDiscovery.ReadWrite.Allpermission. - In Graph Explorer, permissions are tied to the Graph Explorer app itself — so you need to grant consent there.
Here’s what I’d suggest:
- In Graph Explorer, go to “Modify permissions”
- Search for and add
eDiscovery.ReadWrite.All - Click “Consent” (this requires admin approval)
If you don’t see a consent request in Entra:
- Check Entra ID → Enterprise Applications → Graph Explorer → Permissions
- Or verify if admin consent workflow is enabled in your tenant (it might not surface as a request)
Also note:
- The
/security/cases/ediscoveryCasesendpoint belongs to Purview eDiscovery, so you may also need appropriate Purview roles (like eDiscovery Manager) in addition to Graph permissions.
I hope this helps. Please let us know if you have any questions.