Share via


Remove-PartnerResellerRelationship

Removes the reseller relationship between the specified customer and the partner.

Syntax

Remove-PartnerResellerRelationship
      -CustomerId <String>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Removes the reseller relationship between the specified customer and the partner. You must first ensure that any active Azure Reserved VM Instances for that customer are cancelled. This command will suspend all active subscriptions.

Examples

Example 1

PS C:\> Remove-PartnerResellerRelationship -CustomerId '46a62ece-10ad-42e5-b3f1-b2ed53e6fc08'

Removes the reseller relationship between the specified customer and the partner.

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

-CustomerId

The identifier of the customer.

Type:String
Position:Named
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.Store.PartnerCenter.PowerShell.Models.Customers.PSCustomer