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.3.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.1.3-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ms_graph_client-0.1.3.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-1031-azure

File hashes

Hashes for ms_graph_client-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5fded45153334aa13bd506e1cac2de51d150c23f57a7bbdb6555ee6397b617d7
MD5 553c40d04d6257fd7dc0f0c59002b1f8
BLAKE2b-256 8a6c8bedd07b32b7b8a8b1bc7454f08f6d642cb104e25f39109d4422378f0c2d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ms_graph_client-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-1031-azure

File hashes

Hashes for ms_graph_client-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fba582e1046b4dc9b10d0ddf83b0cecf07b0a8e1858daed33aad86c56799ff62
MD5 282a899d817214d1824feaef9323c756
BLAKE2b-256 fca84aaaaca80eeda53a9e94d53708a8a63740bd4c1db7b1ba6c1c9069a32751

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