msgraph-core
Core component of the Microsoft Graph Python SDK
Decision gist · record as of 2026-08-14
Yes, if you are building a Python application that needs to call Microsoft Graph API. Install it as a dependency of the full Microsoft Graph Python SDK, or directly if you need low-level control over Graph requests. The library is production-stable, actively maintained, and has no known vulnerabilities. Requires Python 3.10+ and async-capable code.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Requires async-compatible environment and properly configured authentication credentials.
- Low friction installation with a wheel distribution.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-07-13 (32 days) · last repo commit 2026-08-08 · 289 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 13,779,426 downloads/mo, #1,265 on PyPI
Alternatives
Verify before relying
pip install msgraph-core
from msgraph_core.authentication import AzureIdentityAuthenticationProvider
from msgraph_core import BaseGraphRequestAdapter
auth_provider = AzureIdentityAuthenticationProvider(credential)
adapter = BaseGraphRequestAdapter(auth_provider)- Whether this library can be used standalone or only as a dependency of the full Microsoft Graph Python SDK
- Performance characteristics and throughput limits for high-volume Graph API calls
- Compatibility with synchronous code patterns or whether async is mandatory
What it is and what it does
msgraph-core is the foundational HTTP client library for the Microsoft Graph Python SDK, built on the Kiota framework. It handles authentication, request building, and HTTP communication with the Microsoft Graph API. The library is async-first, designed to work with async environments, and integrates with microsoft-kiota-authentication-azure for credential management.
This is a major version rewrite from the previous core library, introducing breaking changes. It provides the BaseGraphRequestAdapter class that accepts an AuthenticationProvider to handle authenticated requests. The library captures telemetry metadata (SDK version, runtime environment, host OS) by default to improve the developer experience.
Use it for
- Building Python applications that interact with Microsoft Graph data via the Graph API with async/await patterns
- Integrating authentication into custom Graph API clients without using the full SDK
- Sending raw HTTP requests to Graph endpoints using RequestInformation objects and custom response types
- Developing services that need to call Microsoft Graph with managed identity or environment-based credentials
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building a Python application that needs to call Microsoft Graph API.
Install it as a dependency of the full Microsoft Graph Python SDK, or directly if you need low-level control over Graph requests. The library is production-stable, actively maintained, and has no known vulnerabilities. Requires Python 3.10+ and async-capable code.
Install
msgraph-core on PyPI
Before you install
Low friction installation with a wheel distribution. Actively maintained with recent releases; last commit 2026-08-08 and production-stable status. Supports current Python versions (3.10+).
Requires Python 3.10 or later. Requires async-compatible environment and properly configured authentication credentials.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install msgraph-core
from msgraph_core.authentication import AzureIdentityAuthenticationProvider
from msgraph_core import BaseGraphRequestAdapter
auth_provider = AzureIdentityAuthenticationProvider(credential)
adapter = BaseGraphRequestAdapter(auth_provider)
Verify before relying
- Whether this library can be used standalone or only as a dependency of the full Microsoft Graph Python SDK
- Performance characteristics and throughput limits for high-volume Graph API calls
- Compatibility with synchronous code patterns or whether async is mandatory
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesmicrosoft-kiota-abstractionsmicrosoft-kiota-authentication-azuremicrosoft-kiota-httphttpx |
| Maintenance | Actively maintained 32 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 13,779,426 / month, #1,265 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: msgraph_core-1.5.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “microsoft graph api client”
- msgraph-coreProvides core HTTP client infrastructure for the Microsoft Graph…
- microsoft-kiota-bundleProvides default client setup and request handling for…
- msgraph-sdkPython client library for calling Microsoft Graph APIs with…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also microsoft-kiota-bundle · microsoft-kiota-authentication-azure · msgraph-beta-sdk · microsoft-kiota-http · msgraph-sdk · microsoft-kiota-abstractions · microsoft-kiota-serialization-json · microsoft-kiota-serialization-multipart · microsoft-kiota-serialization-form · microsoft-kiota-serialization-text