How can I deploy an AI Agent created in Microsoft AI Foundry to a website for public access?

saurabh pophare 0 Reputation points
2025-04-12T08:32:17.41+00:00

Hi,

I created an AI agent using Microsoft AI Foundry, and it works perfectly using the thread and agent ID when tested within the Azure portal.

Now I want to deploy this agent on a website so that anyone (public users) can access it via a frontend . Here's what I've done so far:

I used Azure AI Foundry to build and test the agent.

  • I implemented it earlier using Streamlit and Python, where i implemented it in local host but used az login and default credentials
  • now i want created a flask where i want to deploy it on a hosting service but due to being on server i cannot use the default credentials (from azure.identity import DefaultAzureCredential)
  • i tried using from azure.identity import ClientSecretCredential but not understanding,how to do it plz help
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,350 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.