msgraph-sdk-python icon indicating copy to clipboard operation
msgraph-sdk-python copied to clipboard

Add 'synchronization' to ServicePrincipalsWithAppIdRequestBuilder

Open danielniccoli opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe the problem.

I'm trying to get the sync jobs using service_principals_with_app_id but it fails with 'ServicePrincipalsWithAppIdRequestBuilder' object has no attribute 'synchronization'

Describe the solution you'd like.

# works 👍
sp = await client.service_principals.by_service_principal_id("741...").synchronization.jobs.get()

# fails ☹️
sp = await client.service_principals_with_app_id("a35...").synchronization.jobs.get()

Additional context?

No response

danielniccoli avatar Nov 25 '24 09:11 danielniccoli