Azure BizTalk Transform Service API ARM Template Creation

169 Views Asked by At

I have created below ARM template for creating "BizTalk Transform Service "(API APP) which is using in Logic Apps.

  {
        "type": "Microsoft.Web/sites",
        "apiVersion": "2015-08-01",
        "name": "[parameters('apiapps_customertransformation_name')]",
        "location": "[resourceGroup().location]",
        "kind": "apiApp",
        "tags": {
            "packageId": "TransformService"
        },
        "properties": {
            "name": "[parameters('apiapps_customertransformation_name')]",
            "gatewaySiteName": "[parameters('gatewayName')]",
            "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('svcPlanName'))]",
            "siteConfig": {
                "appSettings": [
                    {
                        "name": "EMA_MicroserviceId",
                        "value": "[parameters('apiapps_customertransformation_name')]"
                    },
                    {
                        "name": "EMA_Secret",
                        "value": "[parameters('gatewayToAPIappSecret')]"
                    },
                    {
                        "name": "EMA_RuntimeUrl",
                        "value": "[concat('https://', parameters('gatewayName'), '.azurewebsites.net')]"
                    },
                    {
                        "name": "WEBSITE_START_SCM_ON_SITE_CREATION",
                        "value": "1"
                    }
                ]
            }
        }
    },
    {
        "type": "Microsoft.AppService/apiapps",
        "apiVersion": "2015-03-01-preview",
        "name": "[parameters('apiapps_customertransformation_name')]",
        "location": "[resourceGroup().location]",
          "tags": {
            "displayName": "APIApp"
          },
        "properties": {
            "package": {
                "id": "TransformService"
            },
            "updatePolicy": "Auto",
            "accessLevel": "PublicAnonymous",
            "host": {
                "resourceName": "[parameters('apiapps_customertransformation_name')]",
                "resourceType": "Microsoft.Web/sites"
            },
            "gateway": {
                "resourceName": "[parameters('gatewayName')]",
                "resourceType": "Microsoft.AppService/gateways"
            }

        },
      "dependsOn": [
        "[resourceId('Microsoft.Web/sites', parameters('apiapps_customertransformation_name'))]"
      ]
    }

I am able to successfully created the API in Azure Portal, but when I try to add the Map component in Transform API. It says not found.

Can you please let me know how to enable map component?

Or is there any way to directly create a Map component while deploying ARM Template?

enter image description here

1

There are 1 best solutions below

3
On

Seem that you are trying to use the preview_V1 transform, i would suggest not to use that as it will be deprecated soon. Try the preview_V2 "Xml Transform" function in LogicApp itself.


Checkout this documentation to get started
Xml Transform in LogicApps

LogicApp Documentation
https://azure.microsoft.com/en-us/documentation/articles/app-service-logic-what-are-logic-apps/