microsoftgraph / microsoftgraph/msgraph-sdk-python
Update snippets to initialise GraphServiceClient with different National Clouds
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 630
- Forks
- 96
- Avg merge
- 15h 20m
- Merged PRs (30d)
- 3
Description
Code snippets under https://learn.microsoft.com/en-us/graph/sdks/national-clouds?view=graph-rest-1.0&tabs=python need to be updated to use a TokenCredential object with an authority set and updating the base_url of the graph client via: graph_client.request_adapter.base_url = ""
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.
Research direction
Open the National Clouds documentation page linked in the issue and inspect its Python snippets for GraphServiceClient initialization. Update the examples to use a TokenCredential with the appropriate authority and set graph_client.request_adapter.base_url; done means the national-cloud snippets show both settings consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100