Skip to content

wsilveiranz/iseexportutilities

Repository files navigation

iseexportutilities

This repo cotains a list of script and utilities to to support the export of ISE workflows.

Validating all logic apps in a Resource group

Pre-requisites

  • Postman
  • Powershell 7.x or later
  • user with access to an Azure Subscription with at leat reader access to the subscription
  • A service principal with at least reader access to the subscription

Step 1

Step 2

  • azureManagedIdClientId - the service principal client ID
  • azureManagedIdClientSecret - the service principal client secret
  • Tenantid - the tenant id hosting the subcription
  • subscriptionID - the subscription's ID
  • ISERegionName - the region name where ISE is deployed (e.g. australiaeast)
  • rgName - the name of the resource group

To execute Validation Operation

  • Open the Validate Logic App List request
  • Replace the array under the workflow element with the array generated by step 1's powershell script. The value to be replace is as follows:

[ { "id": "/subscriptions/{{subscriptionID}}/resourceGroups/{{rgName}}/providers/Microsoft.Logic/workflows/LogicApp1" }, { "id": "/subscriptions/{{subscriptionID}}/resourceGroups/{{rgName}}/providers/Microsoft.Logic/workflows/LogicApp2" } ]

  • Execute the request.

The result will contain each one of the workflows and overall status, plus any warning or validation error.

To execute Export Operation

  • Open the Export Logic App List request
  • Replace the array under the workflow element with the array generated by step 1's powershell script. The value to be replace is as follows:

[ { "id": "/subscriptions/{{subscriptionID}}/resourceGroups/{{rgName}}/providers/Microsoft.Logic/workflows/LogicApp1" }, { "id": "/subscriptions/{{subscriptionID}}/resourceGroups/{{rgName}}/providers/Microsoft.Logic/workflows/LogicApp2" } ]

  • Execute the request.

A link to the exported package is available in properties.packageLink.uri. Any post-deployment steps can be found in the details properties.details.

Notes

The export API will not install any Azure Connections. This option is only available through the UI.

About

Scripts and utilities to support ISE migration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors