When performing a GET request on a newly created authenticationContextClassReference, the API returns a 201 Created status code. According to HTTP standards and OData conventions, a GET request should return 200 OK.
Reproduction Steps
- Create an authenticationContextClassReference (e.g., via PATCH or POST).
- Perform a GET request on the created resource URL: https://graph.microsoft.com/v1.0/identity/conditionalAccess/authenticationContextClassReferences/{id}.
Expected Behavior
Status code 200 OK.
Actual Behavior
Status code 201 Created.
Impact
Client libraries (like the Terraform provider) that expect standard HTTP status codes fail to read the resource, interpreting 201 as an unexpected response for a read operation.