Getting Unknown Error in eDiscovery beta graph API for legalhold [BETA]

Dela Cruz, Jeven 1 Reputation point
2021-10-18T23:18:44.4+00:00

We're unable to fetch all the legalhold in a specific case everytime we run the API for get legalhold

ediscovery-legalhold-get and get a response of Unknown Error

Then if the get api has error our workflow create a legalhold and when we run the create legalhold api, the legal hold is being created in the specific eDiscovery it even shows in our eDiscovery page but we're getting an Unknown Error as api response. The reason why we're getting the legahold is to assign the hold to our custodian and primary requirements for assigning the hold to a custodian is the legalhold id

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,292 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Danstan Onyango 3,726 Reputation points Microsoft Employee
    2021-10-22T12:53:19.253+00:00

    I am unable to reproduce your error. I have a case with 4 hold and I get a decent response time, see the screen shot below.
    142953-ediscoveryu-cases-holds-get.png

    I have noticed that you are using beta endpoint. You should try the v1.0 endpoint if there is no specific feature in beta that you are looking for and consider the following.

    1. Run a one off request through v1.0 on postman or graph explorer and share the result.
    2. Describe how persistent the issue is on your end.
    3. Was this issue happening before or started recently?
    4. How many legal holds does the case have?

    If you still face the issue on v1.0 and it happens persistently, share the result and you will need to create a support request from compliance portal.

    0 comments No comments

  2. Dela Cruz, Jeven 1 Reputation point
    2021-10-22T15:09:49.133+00:00

    Hi Dan,

    We will test the above suggestion for using v1.0 as per instruction

    0 comments No comments

  3. Dela Cruz, Jeven 1 Reputation point
    2021-10-24T19:49:55.2+00:00

    Hi Dan,

    We are able to run the api in our DEV Tenant (dev[company domain].onmicrosoft.com) both tested beta and v1.0 they are working

    but when I tried to use our production tenant with same permissions its having issue.

    below is the detailed permission of our production tenant user

    143184-permissions-prod-tenant.png

    0 comments No comments