msgraph-metadata icon indicating copy to clipboard operation
msgraph-metadata copied to clipboard

Service Principals -> Synchronization->jobs-> schema has no Patch method

Open shemogumbe opened this issue 5 months ago • 1 comments

Unable to patch syncrhonization jobs:

Would be good to add an update restriction on metadata to disallow Patch since the docs only specify that updates should be using PUT: https://learn.microsoft.com/en-us/graph/api/synchronization-synchronizationschema-update?view=graph-rest-1.0&tabs=http

This leads to a scenario such as:

    await client.service_principals.by_service_principal_id(service_principal_id).synchronization.jobs.by_synchronization_job_id(synchronizationJob_id).schema.patch(schema)

which is unsupported giving a 404

shemogumbe avatar Sep 03 '24 13:09 shemogumbe