msgraph-metadata
msgraph-metadata copied to clipboard
Wrong update method for /policies/adminConsentRequestPolicy - Should be `PUT`not `PATCH`
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