Logic Apps

  • date 16th April, 2024 |
  • by Prwatech |
  • 0 Comments

Logic Apps

 

  1. Quickly build powerful integration solutions
  2. Designed to automate business scenarios
  3. logic apps execute two workflows
  4. Workflow includes actions like data conversions and flow controls, such as conditional statements, switch statements, loops, and branching.
  5. Design using Visual Designer on the Azure portal or in Visual Studio
  6. Built from predefined logic blocks.
  7. More than 200 different connectors and processing blocks interact with different services.
  8. Starts with a trigger

 

Hands-on

 

UI of the logic app, click on add to create a new logic app.

image

Select the subscription and create the resource group

Give the name to the logic app and select the region.

image

Try to select the plan as a consumption

image

In tags session, no need to enter anything

image

Now can review the details that we have entered and click on Create.

image

Here you can see the overview of the logic app

image

you can see the logic app designer on the left side, click on it.

image

Here you can see the different types of templets

image

Now I’ll try to select the “Delete old Azure blobs” and click on Use template

image

in this click on create

image

Here we need to add the details, I’ll give the name as a demo and I’ll select the access key as the authentication type for the storage account.

image

Now for this, we need to have a storage account, so we will create the storage account and files in it.

It’s the UI of the storage account. Click on Create.

image

Now we will try to select the subscription and we will create the resource group for that.

We will give a name for the storage account.

image

In advance let it be default

image

In the network also it should be the default

image

Here in data protection, we can give 1-365 days in all the options which are shown below, as I have given 1 day

image

Here no need to change anything, if we want we can create CMK

image

now you can review and click on create

image

here you can see we have created

image

Now we will try to add the files to it.

For that click on container and add files in it.

image

Here you can see, that we need to give a name to the container and select the anonymous access level

image

Here you can see we have created the container.

image

Now we will try to add this storage account ID and name to logic apps

For these fields

image

Here you can see the storage account access key and name.

Try to and copy paste it in to the logic app.

image

Here you can see I have copy pasted

image

Here you can see it has been created, just click on continue to proceed.

image

In this you can see we can change the interval and frequency based on our requirements

image

you can see.

image

Here we need to select the folder

image

 you can add a condition, I’ll just leave it as it is and click on save

image

Here you can see it has been saved, now you can run trigger it, and see.

image

you can see it has been successfully executed, as we have not added the files so it’s showing an error in list blobs.

image

After these try to delete the resource groups and logic apps along with the storage account.

Deleting resource group.

image

Delete logic app

image

Delete storage account

image

0
0

Leave a Reply

Quick Support

image image