microsoftgraph / microsoftgraph/msgraph-metadata
Wrong update method for /policies/adminConsentRequestPolicy - Should be `PUT`not `PATCH`
Nobody has claimed this yet.
- Dominant language
- XSLT
- Stars
- 166
- Forks
- 55
- Avg merge
- 16h 12m
- Merged PRs (30d)
- 14
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the OpenAPI metadata for policies/adminConsentRequestPolicy and compare its update operation with the linked Microsoft Graph API reference. Change the operation from PATCH to PUT, then verify that the generated API description and the documented request method match the reference.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100