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.1.11.dev20250311210405.tar.gz (8.4 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.1.11.dev20250311210405.tar.gz.

File metadata

File hashes

Hashes for ms_graph_client-0.1.11.dev20250311210405.tar.gz
Algorithm Hash digest
SHA256 1ec8fec420834dda0faee1b61b4834a3640da2c1f0d77e002bda03f7b98f5ceb
MD5 a476fa79e8f5355de02b5b2f2e2185d2
BLAKE2b-256 c56649374679d68cb373fa0e7ad85c71ab920563b280840615725d4052a0b395

See more details on using hashes here.

File details

Details for the file ms_graph_client-0.1.11.dev20250311210405-py3-none-any.whl.

File metadata

File hashes

Hashes for ms_graph_client-0.1.11.dev20250311210405-py3-none-any.whl
Algorithm Hash digest
SHA256 c3425bac672a853e85a6f332905bea4ae5e7cf3a2962f7715bf3ffd38645ff0c
MD5 4fd7e95d397e7fc0c8c54adbbe24b142
BLAKE2b-256 6d181f40d3b306f26adef6cfefb49b434bf0a6bdf5fba1fdbf72b0c2fa955d75

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