Configure a Logic App to Create Blobs in Azure

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

Azure Logic Apps lets you schedule, automate, and orchestrate a variety of tasks with both Azure and third-party services. They are used for simple tasks through to complex business integration.

Within this lab, we’re going to configure a Logic App so that when you navigate to a specific URL, a blob will be created in a container.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Configure the Logic App
  1. Log in to the Azure Portal using the credentials provided to you.
  2. Open the Logic App that has been created for you.
  3. Create a Logic App that meets the requirements of the scenario.
  4. Ensure you Save once complete.

Note: For this scenario, we expect to be able to call the Logic App with a URL similar to the following: https://logicapp/create/ticketid/ticketdata

This should write data to the existing Blob storage container, container1, based on the URL called.

In the above example, the URL is broken up as follows:

  • URL of the Logic App: "https://logicapp"
  • Action to occur: "create"
  • Ticket ID for the blob name: "ticketid"
  • Data to be stored in blob storage: "ticketdata"

This can be achieved in different ways, but it is recommended to use the following: an HTTP trigger (with a GET method and a relative path), a condition, and a create blob action.

Test the Logic App
  1. Open the Logic App that has been created for you.
  2. Navigate to the Overview of the Logic App, Go to Trigger History, and retrieve the Callback URL [GET].
  3. In a new tab, test that the Logic App works by changing the values for {action}, {ticketid} and {ticketdata}, within the URL.

Additional Resources

Scenario

To help you walk through the lab, consider the following scenario:

You work as the administrator of a third-party IT Service Desk Solution. The Solution needs to store some basic ticketing information in Blob storage. However, it's not possible for you to edit the code of the Service Desk Solution to make it do so.

What you are able to do is configure an existing feature to call a URL (i.e., make an API call), and pass the ticketing information you need to store through to this URL.

To address this need, you plan to implement a Logic App which will be triggered by an HTTP request. The Logic App will then record the data submitted through HTTP to an existing Blob storage container.

Lab Setup

Log in to the Azure portal by right-clicking Open Azure Portal and selecting the option to open it in a new private browser window. (This option will read differently depending on your browser — for example, in Chrome, it reads Open Link in Incognito Window.) Then, sign in using the credentials provided on the lab page.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!