microsoftgraph / microsoftgraph/msgraph-beta-sdk-typescript
Missing admin/configurationManagement/configurationSnapshots/createSnapshot
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 6
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 4
Description
Describe the bug
Might be an issue with the underlying OpenAPI, just wanted to track it here. post returns a Method Not Allowed because its pointing to the wrong endpoint.
Expected behavior
Be able to call the create method.
How to reproduce
client.admin.configurationManagement.configurationSnapshots.post(snapshotJob)
SDK Version
1.0.0-preview.73
Latest version known to work for scenario above?
never
Known Workarounds
Redirect the incorrect post method to the right URL
client.admin.configurationManagement.configurationSnapshotJobs.withUrl('https://graph.microsoft.com/beta/admin/configurationManagement/configurationSnapshots/createSnapshot')
const response = await snapshotCreateEndpoint.post(snapshotJob)
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
Contributor guide
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
Start by comparing the generated route for client.admin.configurationManagement.configurationSnapshots.post(snapshotJob) with the Microsoft Graph createSnapshot documentation and the working withUrl workaround. Trace where this endpoint is defined or generated and verify that the normal post call targets the createSnapshot URL and no longer returns Method Not Allowed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100