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.6.tar.gz (8.6 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.6-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ms_graph_client-0.1.6.tar.gz
  • Upload date:
  • Size: 8.6 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.6.tar.gz
Algorithm Hash digest
SHA256 41bad5ef890e2089157798838c79ac675bd88c664c8e76991ab645c97f5244da
MD5 64b8a7b37621a334602a807d5fb9933d
BLAKE2b-256 2a1129158e2c72bb7e6dd81c16692147593ddf177df4ec59b47d0adf3aeb062f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ms_graph_client-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 16.8 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3ea7e293d2068dbf565785f305fda5231577cd3d7b65f813060e13113bb44c01
MD5 d2e2a9793aa41e2dc00f70f9f6a1dd44
BLAKE2b-256 448a0c27b7f37be0dad796e88382b7241e6f791f4303ce6dae92ef073b557590

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