Set-AadrmMigrationUrl

Sets a migration URL for Rights Management.

Syntax

Set-AadrmMigrationUrl
   -Domain <String>
   [-Force]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-AadrmMigrationUrl cmdlet sets a migration URL for Azure Rights Management.

You must use PowerShell to set the migration URL; you cannot do this action by using a management portal.

Setting a migration URL for newly protected content can help you to migrate from Azure Rights Management to a supported on-premises Rights Management server. Do not use this cmdlet in isolation but in conjunction with the instructions from Decommissioning and deactivating protection for Azure Information Protection.

Examples

Example 1: Set a migration URL

PS C:\>Set-AadrmMigrationUrl -Domain "aadrm.online.contoso.com"

This command sets a migration URL for Rights Management.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Domain

Specifies a URL for the domain to migrate.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Force

Indicates that the cmdlet sets the value of the migration URL even if there is an existing migration URL.

Type:SwitchParameter
Position:Named
Default value:None
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:False
Accept pipeline input:False
Accept wildcard characters:False