Missing admin/configurationManagement/configurationSnapshots/createSnapshot
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- api
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.
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_
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 6
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 4
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.
More from microsoftgraph/msgraph-beta-sdk-typescript
-
status:waiting-for-triage ToTriage type:bug
Difficulty 3/5 1-2 days Newbie friendliness 50/100
All issues in microsoftgraph/msgraph-beta-sdk-typescript
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
EclipseFdn/open-vsx.org#13385 · 1 comment ·
-
S: triage
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
fix(errors): EHOSTUNREACH from a happy-eyeballs connect is reported as a resolver error (STAMP-80) Open
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
snapshot-labs/stamp#666 ·
-
vangogh
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
knaw-huc/textannoviz#691 ·