Update-AzManagementPartner
Updates the Microsoft Partner Network(MPN) ID of the current authenticated user or service principal.
Syntax
Update-AzManagementPartner
[-PartnerId] <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Updates the Microsoft Partner Network(MPN) ID of the current authenticated user or service principal.
Examples
Example 1
Update-AzManagementPartner -PartnerId 4977985
PartnerId : 4977985
PartnerName : Test_Test_DPORTest
TenantId : 00001111-aaaa-2222-bbbb-3333cccc4444
ObjectId : aa67f786-0552-423e-8849-244ed12bf581
State : Active
Update the management partner to a new one
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PartnerId
The management partner id, it is a 6 digits number
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Microsoft.Azure.Commands.ManagementPartner.PSManagementPartner