Facing an "Unauthorized - 401" issue in Graph API Explorer for eDiscovery beta API.

Casepoint Developer 66 Reputation points
2021-03-15T06:52:55.803+00:00

Hi,

I am facing an "Unauthorized - 401" issue in Graph API Explorer for eDiscovery beta API.

77570-ediscovery1.png

Before 1-2 months it was working fine and suddenly I have started getting this error.

Can someone look into this?

Thanks

Microsoft Security | Microsoft Graph
0 comments No comments
{count} vote

Answer accepted by question author
  1. Danstan Onyango 3,911 Reputation points Microsoft Employee
    2021-03-16T06:34:50.01+00:00

    There seems to be an issue within MS Graph Explorer such that it does not properly add the permissions eDiscovery.Read.All and eDiscovery.ReadWrite.All when requesting for token. I am able to get this working with the scopes using tokens generated for a APP using MSAL (not using GE).

    The token that has these scopes can access the APIs you are trying to use, so I suggest you get a token from AAD using MSAL to use these APIs until the behavior with GE is gone. See screenshot.

    78069-ediscovery-beta-apis-401.png

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.