Migrating Application from ConfigMgr to Intune

AdminStudio 2024 R2 | 28.0 | AdminStudio REST APIs

Edition:REST APIs are enabled with AdminStudio Enterprise Edition.

When you send this request, it converts an application to intunewin format, and then publishes to Intune distribution system.

Migrating Application from ConfigMgr to Intune

Request Type

Description

API

http://localhost:8086/catalog/ASMigration/?TargetGroup=Test&DestinationConnectionName=Intune&MsiToIntuneConversion=false&ApplicationID=16798621&SourceConnectionName=SCCM

Method

POST

Parameters

List all parameters in the following format:

SourceConnectionName = Specify a ConfigMgr connection name.
DestinationConnectionName = Specify Intune Distribution Connection name.
ApplicationID = Specify the ApplicationID from ConfigMgr of the application you are migrating.
ConvertMSItoIntunewin = Choose one of the following option:
False - If you choose this option, MSI will not be converted to Intunewin format.
True - If you select this option, MSI will be converted to Intunewin format.
TargetASGroupPath = Specify the destination group in the Application Catalog tree for the imported application.

Note:When specifying this path, exclude the root folder (Applications).

Connection Info

Provides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs 

Response

Example:

http://localhost:8086/catalog/ASMigration/?TargetGroup=Test&DestinationConnectionName=Intune&MsiToIntuneConversion=false&ApplicationID=16798621&SourceConnectionName=SCCM 

Response:

<response>

<HasFault>false</HasFault><headers><httpHeaders><Host>localhost:8086</Host><Connection>keep-alive</Connection><Postman-Token>aca6b6ce-81d-425c-9dfb-12b0aeab6d36</Postman-Token></headers><summary /><data><data><Receipt xmlns:json="http://james.newtonking.com/projects/json" json:id="1"><ReceiptID>d6a50ab7-f613-408a-866d-271d1ee31449</ReceiptID><FileName /><GroupPath /><ParentReceipt /><PackageID>0</PackageID><PackageRequestId>0</PackageRequestId><TestIDs /><PluginGUID>00000000-0000-0000-0000-00000000000</PluginGUID><PackageFeedId>0</PackageFeedId><FixTransformPath /><DeploymentData><TargetASGroupPath>Applications\ASMigration</TargetASGroupPath><SystemName /><Server /><UserName /><Password /><SiteName /><ApplicationID>1683832</ApplicationID><PackageIDs /><ShareDirectory /><ShareUserName /><SharePassword /><ShareAuthentication>0</ShareAuthentication><TargetGroup /><ConnectionName>SCCM</ConnectionName><DependentApplication>false</DependentApplication><PluginID /><Progress><TransactionID>00000000-0000-0000-0000-00000000000</TransactionID><Start>0</Start><End>0</End><Current>0</Current><StepSize>0</StepSize></Progress><LastMessageID>-1</LastMessageID><Release>false</Release><TimeCreated>2024-06-20T09:32:36.7874206Z</TimeCreated><CancelTokenSource><IsCancellationRequested>false</IsCancellationRequested><Token><IsCancellationRequested>false</IsCancellationRequested><CanBeCanceled>true</CanBeCanceled><WaitHandle><Handle><value>5876</value></Handle><SafeWaitHandle><IsInvalid>false</IsInvalid><IsClosed>false</IsClosed></SafeWaitHandle></WaitHandle></Token></CancelTokenSource><ExistingPackageId>0</ExistingPackageId><EnforceDuplicateDetection>false</EnforceDuplicateDetection><GenerateSoftwareTag>false</GenerateSoftwareTag></Receipt></data></data>

</response>

Note:By using ReceiptID, you can see the transaction messages for the request. For more details, see Getting Status of a Request.