Skip to main content

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

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_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for 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:

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 SubscriptionClient added method send_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 ErrorResponse moved instance variable code, message, target, additional_info and details under property display whose type is ErrorDetail
  • Method SubscriptionsOperations.list_locations changed its parameter include_extended_locations from positional_or_keyword to keyword_only

Other Changes

  • Deleted model OperationListResultAutoGenerated/ErrorResponseAutoGenerated/OperationAutoGenerated/OperationDisplayAutoGenerated which 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)

Source distribution for azure-mgmt-resource-subscriptions 1.0.0
File Size Uploaded
azure_mgmt_resource_subscriptions-1.0.0.tar.gz 62.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for azure-mgmt-resource-subscriptions 1.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page