Microsoft Azure SDK for Python
This is the Microsoft Azure Resource Subscriptions Management Client Library. This package has been tested with Python 3.10+. For a more complete view of Azure libraries, see the azure sdk python release.
Disclaimer
Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691
Getting started
Prerequisites
- Python 3.10+ is required to use this package.
- Azure subscription
Install the package
pip install azure-mgmt-resource-subscriptions
pip install azure-identity
Authentication
By default, Microsoft Entra token authentication depends on correct configuration of the following environment variables.
AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor Azure client secret.
With above configuration, client can be authenticated by following code:
from azure.identity import DefaultAzureCredential
from azure.mgmt.resource.subscriptions import SubscriptionClient
client = SubscriptionClient(credential=DefaultAzureCredential())
Examples
Code samples for this package can be found at:
- Search Resource Subscriptions Management on docs.microsoft.com
- Azure Python Mgmt SDK Samples Repo
Troubleshooting
Next steps
Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.
Release History
1.0.0 (2026-07-20)
Other Changes
- First GA
1.0.0b2 (2026-05-21)
Features Added
- Client
SubscriptionClientadded methodsend_request - Added model
CloudError
Breaking Changes
- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
- For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
- Model
ErrorResponsemoved instance variablecode,message,target,additional_infoanddetailsunder propertydisplaywhose type isErrorDetail - Method
SubscriptionsOperations.list_locationschanged its parameterinclude_extended_locationsfrompositional_or_keywordtokeyword_only
Other Changes
- Deleted model
OperationListResultAutoGenerated/ErrorResponseAutoGenerated/OperationAutoGenerated/OperationDisplayAutoGeneratedwhich actually was not used by SDK users
1.0.0b1 (2026-02-04)
Other Changes
- Initial version
Release files for azure-mgmt-resource-subscriptions 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| azure_mgmt_resource_subscriptions-1.0.0.tar.gz | 62.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| azure_mgmt_resource_subscriptions-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 130.8 kB
Release files / azure_mgmt_resource_subscriptions-1.0.0.tar.gz
| Download URL | azure_mgmt_resource_subscriptions-1.0.0.tar.gz |
|---|---|
| Size | 62.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c1251c54ef4fa9851fccf4aae5300f4dabd319357783152b930fd961f4d04eb
|
|
BLAKE2b-256 checksum How to use checksums |
bc8ae87473d051b73871f2e0df16c9141a3e998b7fb2bc4478ae06989b57a81a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Release files / azure_mgmt_resource_subscriptions-1.0.0-py3-none-any.whl
| Download URL | azure_mgmt_resource_subscriptions-1.0.0-py3-none-any.whl |
|---|---|
| Size | 68.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
229d1bdafe74f03ea7a6ef1fa20f003538fff832090167c6ed8b001260e50fb1
|
|
BLAKE2b-256 checksum How to use checksums |
caacd5e3c070483562578443601f4d1c20d1ce2ecf5f068f05909186bc863815
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|