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.tar.gz (8.9 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.11-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ms_graph_client-0.1.11.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.6 Linux/5.15.0-1034-azure

File hashes

Hashes for ms_graph_client-0.1.11.tar.gz
Algorithm Hash digest
SHA256 aca0f84fd4b6937dd6fc730867a12d8bf4358953697c5d56fa86e000b8add88f
MD5 93eab64a6e4d2da6b3826b169cc33b1a
BLAKE2b-256 5de268fdbc6b06e5ffb2fcd7b0b4ef9b1b871ddd7aedee3249528bf6a502722d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ms_graph_client-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 6f40db3cbd71f8335426e099ef0d35c02a59e7522eb3ea7e1e357da63dcf8a80
MD5 8f0fd411cc89655ff4625df8bdde3365
BLAKE2b-256 10b90b5353dd89a533713720ac32191c927dc6bde22d47be09aacd4d75d0e450

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