question

DelaCruzJeven-4485 avatar image
0 Votes"
DelaCruzJeven-4485 asked DelaCruzJeven-4485 answered

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

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-compliance
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Could you please provide the full error you are getting including the request-id and timestamp so that we can help while we try to reproduce your issue.

0 Votes 0 ·

142581-image.png



Please see above screenshots of the calls we use for the legalhold api.

0 Votes 0 ·
image.png (339.2 KiB)
Danstan-MSFT avatar image
0 Votes"
Danstan-MSFT answered Danstan-MSFT edited

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.










5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DelaCruzJeven-4485 avatar image
0 Votes"
DelaCruzJeven-4485 answered

Hi Dan,

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DelaCruzJeven-4485 avatar image
0 Votes"
DelaCruzJeven-4485 answered

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



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.