Skip to main content

Command Palette

Search for a command to run...

Using Logic Apps with Foundry Agents

Integrate Logic Apps with Azure AI Agents to execute tasks

Updated
2 min read
Using Logic Apps with Foundry Agents
D

Expert insights on Azure AI architecture and implementation. Real-world solutions for building intelligent enterprise systems.

Creating a Foundry agent

If you don’t have an existing Foundry agent, go ahead and create a foundry agent now. To continue with this example, you should have at least one agent as below:


Adding an action

Let’s add an action to the agent, which will use an Azure Logic App as a tool. Click on the agent, and on the right side select add for the actions:

Then, from the options choose Azure Logic Apps:

You can choose from your own authored actions or Microsoft authored. Let’s use a Microsoft authored action for the weather forecast:

Add the action name and description and choose the resource group, region and subscription needed to create the Logic App:

Finally, review the schema for the logic app workflow:

If you open the resource group in Azure, you can see that a connector and a Logic App were created automatically.

You can also check the workflow in the Logic App designer. What’s important to note is that the trigger is an HTTP request.

Looking the actions of the agent again, note that the weather forecast tool has been added.

To see if this works, open the playground and ask a weather-related question.

Notice that the agent used one tool, which is the Logic App. Checking the execution of the Logic App also shows that it has been invoked.


The Azure Behind the Madness

Part 2 of 16

Explore the world of Microsoft Azure - from AI and cloud architecture to data and DevOps. The Azure Behind the Madness brings insights, stories, and hands-on guidance for building intelligent, scalable solutions in the cloud.

Up next

Microsoft Foundry Agents

Create persistent service-based agent instances with service-managed conversation threads.