General Blog

  • Testing DotLiquid Maps Locally

    Testing DotLiquid Maps Locally

    Hurray! I have found a way to test before deployment for my liquid maps used in Azure. Thanks to finding this blog post: https://skastberg.com/2019/01/20/test-your-liquid-transformations-without-deployment/ And then this GitHub repos: https://github.com/skastberg/LiquidTransformation An example command is as simple as: “d:\TestingLiquid\LiquidTransform.exe” -t “d:\repos-wk\MyProject\logicapp\artifacts\Maps\This_To_That.liquid” -c “c:\temp\logicapp_input.json” -d “c:\temp\output.json” -u Such a time saver, and even gives great exceptions –…

    Know More

  • Share Files, Folders or Drives Between Host and Hyper-V Virtual Machine

    Share Files, Folders or Drives Between Host and Hyper-V Virtual Machine

    I found a useful post about this which saved me time in writing the same:  Share Files, Folders or Drives Between Host and Hyper-V Virtual Machine

    Know More

  • Bicep Deployment of APIM API Operations

    Problem: Deploy your API Operations into APIM using BICEP Existing Deployment: Simple deployment (no request or response definitions etc…) Using a YAML driver:   – template: ../apimanagement/cli/apis/APIM.AddApi.yaml     parameters:       azureServiceConnection: ${{ parameters.azureServiceConnection }}       resourceGroupName: ‘$(coreResourceGroupName)’       apiManagementServiceName: ‘$(coreApimInstance)’       name: ‘oracle-erp-internal-api’       displayName: ‘Oracle ERP Internal API’       description: ‘Oracle Internal API for ERP’       path: ‘/oracle/internal/erp’ – template: ../apimanagement/cli/apis/APIM.AddApi.Operation.yaml     parameters:       azureServiceConnection: ${{ parameters.azureServiceConnection…

    Know More

  • Retrieving Bicep Output Variables between Yaml Tasks

    In the Bicep file you can output variables: output laPrincipalId string = logicAppResource.identity.principalId So how do I then pass these to another Yaml task? My first research found this perfect discussion: BICEP Output to Pipeline Variables #4638 So this is the task that populates the output variables as pipeline variables after the create resource task:…

    Know More

  • Using Bash to Deploy a Logic App using an Office365 API Connection

    Using Bash to Deploy a Logic App using an Office365 API Connection

    Since moving to a self-hosted agent I did not have Powershell available or the bash command to parse JSON, jq. If you have installed Powershell onto your agents then please refer to this earlier post for my solution using Powershell: Using Powershell to Deploy a Logic App using an Office365 API Connection Otherwise, I spent…

    Know More

  • Becareful When Enabling SSH File Transfer Protocol (SFTP) support for Azure Blob Storage

    Becareful When Enabling SSH File Transfer Protocol (SFTP) support for Azure Blob Storage

    I had enabled SFTP on my blob storage in a personal subscription, not realising the costings: SFTP support for Azure Blob Storage – Azure Storage | Microsoft Learn At the time of writing this post, it is £0.24 per hour just to have the SFTP enabled on the blob storage.  This equates to £40.32 per…

    Know More

  • Using Powershell to Deploy a Logic App using an Office365 API Connection

    Using Powershell to Deploy a Logic App using an Office365 API Connection

    When using an Azure agent Powershell was available, so the deployment was straight forward: Validate then build the Office365 Connection And the same for the Logic App container with the following app settings In the Release Pipeline I used the Office365 artifact and the Logic App container artifact In the Release Pipeline Stage deployment, I…

    Know More

  • What is Consuming my Azure Service Bus Subscription?

    What is Consuming my Azure Service Bus Subscription?

    A simple query to discover what service is using my Service Bus Subscription: requests | where source ==’wki-ais-sbus-dev.servicebus.windows.net/unenrolment/Subscriptions/vle’

    Know More