microsoftgraph / microsoftgraph/msgraph-sdk-python

Add 'synchronization' to ServicePrincipalsWithAppIdRequestBuilder

Open
#961 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: API Support dependency:metadata priority:p2 type:feature
Dominant language
Python
Stars
630
Forks
96
Avg merge
15h 20m
Merged PRs (30d)
3

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating ServicePrincipalsWithAppIdRequestBuilder and compare its available navigation properties with the service-principals builder used in the working example. Add the missing synchronization path so service_principals_with_app_id(...).synchronization.jobs.get() works, then validate that request flow against the reported example.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.