Skip to main content

Provides a python wrapper around the Microsoft Graph API. Current SDKs from Microsoft are in Preview mode.

Project description

export PATH="$HOME/.local/bin:$PATH"

Docs: https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0

How to use

from ms_graph_client import GraphAPI, GraphAPIConfig, GraphCacheAPI
from ms_graph_client.services.groups import Groups

client_id = "xxxxxxxx"
tenant_id = "xxxxxxxx"
client_secret = "xxxxxxxx"

graphapi_config = GraphAPIConfig(
    client_id=client_id,
    tenant_id=tenant_id,
    client_secret=client_secret,
    api_url="https://graph.microsoft.com/v1.0",
)

#CRUD wrapper to expose enough to automate Group Management.
# This includes Create/Delete Azure AD Groups,
# Add/Remove Members of Groups, 
# Assign and Unassign the group to/from an Application

graph_api_wrapper = GraphAPI(config=config)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ms_graph_client-0.2.1.dev20250312163140.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file ms_graph_client-0.2.1.dev20250312163140.tar.gz.

File metadata

File hashes

Hashes for ms_graph_client-0.2.1.dev20250312163140.tar.gz
Algorithm Hash digest
SHA256 41f18e5abf0b3226271e214fd124a973357b79093424f0a421a0cd1787dc7993
MD5 c5ae7fd225a7540636b19d6b32c0343c
BLAKE2b-256 ac3d6b65cb024beb78156ade7bc8128e461ac2c415038dadeda74476b5dd8529

See more details on using hashes here.

File details

Details for the file ms_graph_client-0.2.1.dev20250312163140-py3-none-any.whl.

File metadata

File hashes

Hashes for ms_graph_client-0.2.1.dev20250312163140-py3-none-any.whl
Algorithm Hash digest
SHA256 88632d0f3bef0e57330f249a9bd85d5f45c3cfb81e42713a182f354fb40131d8
MD5 e6163341da55d897068abb04ec171795
BLAKE2b-256 6838783611015855f9d0b9f4349694b461a8146d07c15dc56fe1f706766221ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page