msgraph-metadata icon indicating copy to clipboard operation
msgraph-metadata copied to clipboard

Wrong update method for /policies/adminConsentRequestPolicy - Should be `PUT`not `PATCH`

Open c-baumgartner opened this issue 1 year ago • 0 comments

The OpenAPI should use PUT instead PATCH for the policies/adminConsentRequestPolicy when updating settings.

If you try to use PATCH you will receive No HTTP resource was found that matches the request URI 'https://api.accessreviews.identitygovernance.azure.com/accessReviews/v2.0/me/adminConsentRequestPolicy?ring=2' error.

The HTTP example for the API Reference documentation is correct. See https://learn.microsoft.com/en-us/graph/api/adminconsentrequestpolicy-update?view=graph-rest-1.0&tabs=http

c-baumgartner avatar Mar 05 '24 08:03 c-baumgartner