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.0.dev20250312163316.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.0.dev20250312163316.tar.gz.

File metadata

File hashes

Hashes for ms_graph_client-0.2.0.dev20250312163316.tar.gz
Algorithm Hash digest
SHA256 9f8eee3f4533b92f3b6d6bdf194c143d459dfc2bf9c0dd3994b71c28a9ee0ffc
MD5 9f4a0b940e4b96f51b6af4c219477713
BLAKE2b-256 8316d8bc71e37d2f469a662790dbaeaa148435a48d78e0b184e6b4a330fd3b1a

See more details on using hashes here.

File details

Details for the file ms_graph_client-0.2.0.dev20250312163316-py3-none-any.whl.

File metadata

File hashes

Hashes for ms_graph_client-0.2.0.dev20250312163316-py3-none-any.whl
Algorithm Hash digest
SHA256 5288e5cc625f25b902c818244eecf128eff8bdd28baee8c785ccb9ec265b6bde
MD5 665ee9ebdb57cc383e66296a5f6918d8
BLAKE2b-256 2ebb7f8781abcea4669de79d35ed5d06e0d13773e6872a924c361d3a72ee99a1

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