Azure PowerShell Reference - Az.ManagementPartner
This module provides cmdlets for managing Azure management partners.
Overview
The Az.ManagementPartner module in Azure PowerShell allows you to programmatically manage the relationships between your Azure account and your management partners. This is crucial for partners who provide services to their customers, enabling them to associate customers with their partner profile for billing, support, and reporting purposes.
Available Cmdlets
-
Get-AzManagementPartner
Gets information about the management partner associated with the current Azure subscription.
Parameters:
-SubscriptionId: The subscription ID to query. If not specified, the current active subscription is used.
Example:
Get-AzManagementPartner -SubscriptionId "your-subscription-id"
-
Set-AzManagementPartner
Associates a management partner with the current Azure subscription.
Parameters:
-PartnerId: The unique identifier of the management partner to associate.
-SubscriptionId: The subscription ID to associate the partner with. If not specified, the current active subscription is used.
Example:
Set-AzManagementPartner -PartnerId "partner-unique-id" -SubscriptionId "your-subscription-id"
-
Remove-AzManagementPartner
Removes the management partner association from the current Azure subscription.
Parameters:
-SubscriptionId: The subscription ID to remove the partner association from. If not specified, the current active subscription is used.
Example:
Remove-AzManagementPartner -SubscriptionId "your-subscription-id"
Prerequisites
To use these cmdlets, you must have:
Further Information
For detailed parameter descriptions, advanced usage scenarios, and troubleshooting, please refer to the official Microsoft Azure documentation.