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.1.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.1-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ms_graph_client-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 5cd3f3cafee5d823f2109c7dc24dc98f97cd64d5882511612b7102b2850d92b8
MD5 bdee391dbc1d1b282f66c3ba79ebdff6
BLAKE2b-256 717119fe49408d6ab46086ee230a47ba3720004c7afe3eec5a2dc713dfdb54f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ms_graph_client-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8c29e4af31bc06b4663556f114a22b9cf76600f87dff14db7778db2a77af79e5
MD5 0533c5f69ea84bc6512bc1a771ee8fcc
BLAKE2b-256 60c2bab6090ff7103c578c1f35a763c495c40df2b94500deff07b6ac1d6f3948

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