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

Metadata

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 Provenance Actions
azure_mgmt_portal-1.0.1.tar.gz 45.0 kB Without provenance Details for azure_mgmt_portal-1.0.1.tar.gz

Built distribution (wheel)

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

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

Security for azure-mgmt-portal 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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