Skip to main content

Microsoft Azure SDK for Python

This is the Microsoft Azure Portal 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-portal
pip install azure-identity

Authentication

By default, Azure Active Directory 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.

In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.

With above configuration, client can be authenticated by following code:

from azure.identity import DefaultAzureCredential
from azure.mgmt.portal import Portal
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = Portal(credential=DefaultAzureCredential(), subscription_id=sub_id)

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.1 (2026-05-13)

Other Changes

  • Regenerated with latest code generator tool

1.1.0b1 (2022-11-01)

Other Changes

  • Added generated samples in github repo
  • Drop support for python<3.7.0

1.0.0 (2021-05-21)

Features

  • Model MarkdownPartMetadata has a new parameter additional_properties
  • Model DashboardPartMetadata has a new parameter additional_properties

1.0.0b1 (2020-12-17)

  • Initial Release

Release files for azure-mgmt-portal 1.0.1

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-portal 1.0.1
File Size Uploaded
azure_mgmt_portal-1.0.1.tar.gz 45.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for azure-mgmt-portal 1.0.1
File Interpreter ABI Platform
azure_mgmt_portal-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 108.5 kB

Release files / azure_mgmt_portal-1.0.1.tar.gz

Download URL azure_mgmt_portal-1.0.1.tar.gz
Size 45.0 kB
Tags Source
SHA-256 checksum
How to use checksums
84bda6c8deb2af189f5e10192949b649acfb91cba273fdd650894256a53ceac6
BLAKE2b-256 checksum
How to use checksums
039d3ac496cb3926eddefaf33c1c36464e7259a2b3d97e60ba50aa0ebc46410e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / azure_mgmt_portal-1.0.1-py3-none-any.whl

Download URL azure_mgmt_portal-1.0.1-py3-none-any.whl
Size 63.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d4d1a3ef01ad9f3e3f44a8c291e8a6fc13934164ff6cf3502dd29f5bc0b0484
BLAKE2b-256 checksum
How to use checksums
29c12395be295f5ba5e78b24d98e3c5cdb358a8fe6c73d4ecd6f0613f90b3f6e
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.1 This release

2 release files

1.0.0

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