Skip to main content

Invoke-ASMigration

Powershell cmdlets are enabled with AdminStudio Enterprise Edition and with Workflow Manager.

Use the Invoke-ASMigration to convert applications to intunewin format, and then publish to Intune distribution system.

Example

Invoke-ASMigration -SourceConnectionName 'SCCM' -DestinationConnectionName 'Intune' -ApplicationID '16823920' -ConvertMSItoIntunewin 1 -TargetASGroupPath 'Applications'

Parameters

The Invoke-ASMigration has the following parameters:

ParameterDescription
SourceConnectionName(Required) Specify a ConfigMgr connection name.
DestinationConnectionName(Required) Specify Intune Distribution Connection name.
ApplicationID(Required) Specify the ApplicationID from ConfigMgr of the application you are migrating.
Get the ApplicationID from the ConfigMgr using Get-ASDeploymentSystemPackageTree.
DeploymentModelName(Required) Use for migration of individual packages under an application.
Get the deployment model name associated to ApplicationID from the ConfigMgr using Get-ASDeploymentSystemPackageTree.
ConvertMSItoIntunewin(Optional) Choose one of the following option:
  • 0 - If you choose this option, MSI will not be converted to Intunewin format.
  • 1 - If you select this option, MSI will be converted to Intunewin format.
Note: If switch is not provided, then the default value will be set to 1.
TargetASGroupPathUse to specify the destination group in the Application Catalog tree for the imported application.
Note: When specifying this path, exclude the root folder (Applications).

Return Values

Application is Successfully migrated to DestinationConnectionName.