Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Case Requests failing as Forbidden #1987

Closed
henry-filosa opened this issue Jun 27, 2023 · 6 comments
Closed

Get Case Requests failing as Forbidden #1987

henry-filosa opened this issue Jun 27, 2023 · 6 comments

Comments

@henry-filosa
Copy link

Describe the bug
Get requests to fetch an ediscovery case are failing spuriously w/ Forbidden: Request for case type is not supported. This is a V1.0 endpoint and should be supported.

We have taken the following troubleshooting steps that make us fairly certain that it is an issue w/ the graph itself:

  1. Confirmed our app registrations and secrets are accurately configured and up to date.
  2. Confirmed that the error occurs when the request is sent via the Java SDK or via Postman.
  3. Confirmed that the same client can access the List Cases endpoint. The returned list contains the case we are attempting to fetch.
  4. Confirmed that this endpoint fails for any case in our tenant.

Additionally, this error started suddenly today w/ no changes to our code or infrastructure.

To Reproduce
Java: make a request w/ client.security().cases().ediscoveryCases(caseId).buildRequest().get()
Postman: https://graph.microsoft.com/v1.0/security/cases/ediscoveryCases/CASE_ID

The app registration used for OAuth must have eDiscovery.Read.All or eDiscovery.ReadWrite.All permissions and be granted admin consent.

Expected behavior
Return the specified case.

Screenshots
Here is an example return value we have received:

 "error": {
        "code": "Forbidden",
        "message": "Request for case type  is not supported",
        "innerError": {
            "date": "2023-06-27T22:37:03",
            "request-id": "a68ac7dd-d74b-4aea-818c-86783eb23052",
            "client-request-id": "a68ac7dd-d74b-4aea-818c-86783eb23052"
        }
    }

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser: Chrome
  • Version 20.04.6

Additional context
This doesn't seem to be an issue w/ the SDK, but there was no other location we could find to file an issue. Additionally, none of the following health dashboards we could find indicated an applicable issue:

  1. Azure Status Page
  2. Office Health Portal
  3. Admin Center Service Health
@ghost ghost added the Needs: Triage label Jun 27, 2023
@mslosarek
Copy link

I am also getting this error message when trying to retrieve a case by id. The same case is retrievable at the https://graph.microsoft.com/v1.0/compliance/ediscovery/cases/<caseId> endpoint

@andrueastman
Copy link
Member

Thanks for raising this @henry-filosa

As this is an API/service related question, any chance you could post the same at the link below for the API owners to help out with this?

https://learn.microsoft.com/en-us/answers/tags/161/ms-graph

@mslosarek
Copy link

@andrueastman I posted the question here:
https://learn.microsoft.com/en-us/answers/questions/1321169/request-for-case-type-is-not-supported-error-on-th

Is there any way to escalate this as it is an error on the MS Graph side and not with the individual requests.

@andrueastman
Copy link
Member

@mslosarek Just to confirm, are you still experiencing this?

Are you able to share a fresh error response if this is the case?

@henry-filosa
Copy link
Author

It is now working again on our end. Mysterious.

@drgnbear
Copy link

drgnbear commented Jul 5, 2023

Govt cloud still erroring in the exact same way seems like for us it STARTED this am.

@ddyett ddyett closed this as completed Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants