Skip to content

Missing admin/configurationManagement/configurationSnapshots/createSnapshot #448

Description

Describe the bug

https://learn.microsoft.com/en-us/graph/api/configurationbaseline-createsnapshot?view=graph-rest-beta

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_

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions