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.8.tar.gz (9.3 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.8-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ms_graph_client-0.1.8.tar.gz
  • Upload date:
  • Size: 9.3 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.8.tar.gz
Algorithm Hash digest
SHA256 c29207c1c848b6924d0b5bbce79a5cc1e16cf12432ecd41cc82e1e5bed14db3d
MD5 28dc4ac6d12ef71d3481e88d8c6a536e
BLAKE2b-256 6f1bf5287b81f6313d107308940d463c92ae4c151e665c99622daaf0e5fcba18

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ms_graph_client-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 18.0 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7d66ea6e5dbd3a3f131174fec41fa24d2522346cc522333078d6e118dfd5c0a5
MD5 68700f0d954b35639a3d5ff581fef9a7
BLAKE2b-256 9de4d4101976aa0a3332c02fffebefb80086a1d7bfb04f3d5c097ea257f73b44

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