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.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.

ms_graph_client-0.2.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file ms_graph_client-0.2.0.tar.gz.

File metadata

  • Download URL: ms_graph_client-0.2.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.3 Linux/6.8.0-1021-azure

File hashes

Hashes for ms_graph_client-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7a46a19fe23992b7e875671bbca0a5f2a72a2e1208169b632d5a5036c7e7b91d
MD5 ce3bfb75b4964c647a1858510b47db9b
BLAKE2b-256 a911bd1f7079be9d1a39e6005362cf510c6c3f2b3cd24a5b82d4019bbd00e2d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ms_graph_client-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.3 Linux/6.8.0-1021-azure

File hashes

Hashes for ms_graph_client-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cabaa0598bd7a1abf1cdf101005f6d92d39db0cce9487d1e77893353274b0a3c
MD5 6ae7220011452eb8ff023acc5b71debc
BLAKE2b-256 b3570f6827725c8227b51e028a2b5133b9b8c14a7ba0e490d6b06fc4911a5121

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