New-AzDataMigrationAzureActiveDirectoryApp

Create a new instance DataMigration Microsoft Entra Application details.

Syntax

New-AzDataMigrationAzureActiveDirectoryApp
   -ApplicationId <String>
   -AppKey <SecureString>
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Create a new instance DataMigration Microsoft Entra Application details.

Examples

Example 1

$secpasswd = ConvertTo-SecureString -String "****" -AsPlainText -Force
New-AzDataMigrationAzureActiveDirectoryApp -ApplicationId "Your AppId/Service Principal ID here" -AppKey $secpasswd

ApplicationId : "Your AppId/Service Principal Id here"
AppKey        : System.Security.SecureString
TenantId      : "Tenant Id"

Parameters

-AppKey

Microsoft Entra ID Key

Type:SecureString
Aliases:Key
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ApplicationId

Microsoft Entra Application Id

Type:String
Aliases:AppId
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-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

-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

PSAzureActiveDirectoryApp