Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ms-graph-client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ms-graph-client

Provides a python wrapper around the Microsoft Graph API. Current SDKs from Microsoft are in Preview mode.

  • 0.1.11
  • PyPI
  • Socket score

Maintainers
1

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)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc