azure-mgmt-search
Microsoft Azure Search Management Client Library for Python
What it is and what it does
This is the Microsoft Azure Search Management Client Library for Python, part of the official Azure SDK. It provides a Python interface to programmatically manage Azure Cognitive Search services—creating, updating, deleting, and configuring search instances within your Azure subscription. The package handles authentication via Azure Active Directory and requires environment variables for credentials (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID).
The library exposes operation groups for managing search services, private endpoints, network security configurations, and other service-level resources. Version 9.2.0 adds support for network security perimeter configurations, user-assigned identities, compute type selection, and data exfiltration protections. It requires Python 3.9+ and depends on azure-common, azure-mgmt-core, isodate, and typing-extensions.
Use it for:
- Automate provisioning and teardown of Azure Cognitive Search services in CI/CD pipelines.
- Configure network security and private endpoint settings for search services programmatically.
- Manage search service scaling, SKU changes, and upgrade operations across multiple Azure subscriptions.
- Integrate search service lifecycle management into infrastructure-as-code or cloud automation tools.
- Query service status, usage metrics, and operational details for monitoring and billing purposes.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Manages Azure Cognitive Search services through Python, providing client libraries to create, configure, and administer search instances in Azure.
Yes. This is an official, actively maintained Azure SDK library with no known vulnerabilities, permissive licensing, and low install friction. Install it if you need to manage Azure Cognitive Search services programmatically from Python. Prerequisite: you must have an Azure subscription and valid credentials configured via environment variables.
Install
azure-mgmt-search on PyPI
pip
pip install azure-mgmt-searchuv
uv add azure-mgmt-searchpoetry
poetry add azure-mgmt-searchInstalling azure-mgmt-search
Before you install
Low friction installation with four lightweight runtime dependencies. The package is actively maintained with a recent release and receives regular updates; the underlying repository is not archived and has substantial community engagement.
License in practice
MIT License permits commercial and private use with minimal restrictions, making it suitable for most production scenarios.
Quickstart
pip install azure-mgmt-search
from azure.mgmt.search import SearchManagementClient
from azure.common import AzureHttpError
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = SearchManagementClient(subscription_id=sub_id)
Requires Python 3.9+, Azure subscription, and environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID configured for authentication.
Verify before relying
- Whether network security perimeter configurations (added in 9.2.0) require specific Azure subscription features or permissions.
- Performance characteristics when managing large numbers of search services or operations.
- Compatibility with Azure Stack or other Azure sovereign cloud deployments.
- Whether azure-identity is required as a runtime dependency or only recommended for authentication.
Package facts
| License | MIT License (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — isodate, typing-extensions, azure-common, azure-mgmt-core |
| Maintenance | actively maintained — 389 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 7,288,964/month — #1,757 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_search-9.2.0-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
azure-mgmt-managementpartnerProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-cognitiveservicesManages Azure Cognitive Services…
unclear · top 5,000 on PyPI
azure-search-documentsClient library for querying, indexing, and…
unclear · top 5,000 on PyPI
azure-mgmt-managedservicesProvides Python client library for managing…
unclear · top 15,000 on PyPI
azure-mgmt-iothubprovisioningservicesManages Azure IoT Hub Provisioning Services…
permissive · top 5,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-mgmt-webProvides programmatic management of Azure Web…
permissive · top 5,000 on PyPI
azure-mgmt-msiManages Azure Managed Service Identities…
permissive · top 5,000 on PyPI
azure-mgmt-trafficmanagerProvides a Python client library to manage…
permissive · top 5,000 on PyPI
azure-mgmt-sqlProvides programmatic management of Azure SQL…
permissive · top 5,000 on PyPI