Skip to content

Commit 547a4ae

Browse files
authored
Merge pull request #311087 from cephalin/pr-311085
Restructure AI integration docs into scenario-based articles (Fixes #311085)
2 parents b2af4f5 + 7a2211a commit 547a4ae

8 files changed

Lines changed: 413 additions & 111 deletions

articles/app-service/overview-ai-integration.md

Lines changed: 14 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: cephalin
55
ms.author: cephalin
66
ms.service: azure-app-service
77
ms.topic: overview
8-
ms.date: 12/12/2025
8+
ms.date: 01/29/2026
99
ms.custom:
1010
- build-2025
1111
ms.collection: ce-skilling-ai-copilot
@@ -14,128 +14,32 @@ ms.update-cycle: 180-days
1414

1515
# Integrate AI into your Azure App Service applications
1616

17-
18-
This article guides you to language-specific tutorials and resources to help you build intelligent applications with App Service.
19-
2017
Azure App Service makes it easy to integrate AI capabilities into your web applications across multiple programming languages and frameworks. Whether you want to use powerful Azure OpenAI models, deploy local small language models (SLMs) directly with your apps, build agentic web applications, expose your app as a tool for AI agents using OpenAPI, host Model Context Protocol (MCP) servers, or implement advanced patterns like retrieval augmented generation (RAG), App Service provides the flexible, secure platform you need for AI-powered applications.
2118

19+
## Why App Service for AI applications?
20+
2221
App Service offers several advantages for developing and deploying AI-powered applications:
2322

2423
- **Native integration with Azure AI services** - Seamlessly connect to Azure OpenAI and other AI services using managed identities for secure, passwordless authentication
2524
- **Local SLM support** - Use sidecar extensions to deploy smaller language models directly with your application
2625
- **Enterprise-grade security** - Implement network isolation, end-to-end encryption, and role-based access control
2726
- **Simplified DevOps with GitHub integration** - Streamline CI/CD pipelines using GitHub Actions, leverage GitHub Codespaces with integrated GitHub Copilot for AI-assisted development, and create end-to-end workflows from development to production deployment
2827

29-
## Build chatbots and RAG applications in App Service
30-
31-
Build intelligent web apps that use Azure OpenAI for chat or retrieval augmented generation (RAG). These tutorials show you how to integrate Azure OpenAI and (optionally) Azure AI Search to create chatbots and RAG solutions in your preferred language, using managed identities for secure authentication.
32-
33-
### [.NET](#tab/dotnet)
34-
- [Tutorial: Build a chatbot with Azure App Service and Azure OpenAI (.NET)](tutorial-ai-openai-chatbot-dotnet.md)
35-
- [Tutorial: Build a retrieval augmented generation app in Azure App Service with Azure OpenAI and Azure AI Search (.NET)](tutorial-ai-openai-search-dotnet.md)
36-
- [Deploy a .NET Blazor App Connected to Azure SQL and Azure OpenAI on Azure App Service](deploy-intelligent-apps-dotnet-to-azure-sql.md)
37-
38-
### [Java](#tab/java)
39-
- [Tutorial: Build a chatbot with Azure App Service and Azure OpenAI (Spring Boot)](tutorial-ai-openai-chatbot-java.md)
40-
- [Tutorial: Build a retrieval augmented generation app in Azure App Service with Azure OpenAI and Azure AI Search (Spring Boot)](tutorial-ai-openai-search-java.md)
41-
- Sample: [SpringBoot-Petclinic-AI-Chat-on-App-Service](https://github.com/Azure-Samples/SpringBoot-Petclinic-AI-Chat-on-App-Service)
42-
43-
### [Node.js](#tab/nodejs)
44-
- [Tutorial: Build a chatbot with Azure App Service and Azure OpenAI (Express.js)](tutorial-ai-openai-chatbot-node.md)
45-
- [Tutorial: Build a retrieval augmented generation app in Azure App Service with Azure OpenAI and Azure AI Search (Express.js)](tutorial-ai-openai-search-nodejs.md)
46-
47-
### [Python](#tab/python)
48-
- [Tutorial: Build a chatbot with Azure App Service and Azure OpenAI (Flask)](tutorial-ai-openai-chatbot-python.md)
49-
- [Tutorial: Build a retrieval augmented generation app in Azure App Service with Azure OpenAI and Azure AI Search (FastAPI)](tutorial-ai-openai-search-python.md)
50-
- [Microsoft Foundry tutorial: Deploy an enterprise chat web app](/azure/ai-foundry/tutorials/deploy-chat-web-app?toc=/azure/app-service/toc.json&bc=/azure/bread/toc.json)
51-
-----
52-
53-
## Build agentic web applications
54-
55-
Transform your traditional CRUD web applications for the AI era by adding agentic capabilities with frameworks like Microsoft Semantic Kernel, LangGraph, or Foundry Agent Service. Instead of users navigating forms, textboxes, and dropdowns, you can offer a conversational interface that lets users "talk to an agent" that intelligently performs the same operations your app provides. This approach enables your web app to reason, plan, and take actions on behalf of users.
56-
57-
### [.NET](#tab/dotnet)
58-
- [Tutorial: Build an agentic web app in Azure App Service with Microsoft Agent Framework or Foundry Agent Service (.NET)](tutorial-ai-agent-web-app-semantic-kernel-foundry-dotnet.md)
59-
- Blog series: Build long-running AI agents with Microsoft Agent Framework
60-
- [Part 1: Build long-running AI agents on Azure App Service with Microsoft Agent Framework](https://techcommunity.microsoft.com/blog/appsonazureblog/build-long-running-ai-agents-on-azure-app-service-with-microsoft-agent-framework/4463159)
61-
- [Part 2: Build long-running AI agents on Azure App Service with Microsoft Agent Framework](https://techcommunity.microsoft.com/blog/appsonazureblog/part-2-build-long-running-ai-agents-on-azure-app-service-with-microsoft-agent-fr/4465825)
62-
- [Part 3: Client-side multi-agent orchestration on Azure App Service with Microsoft Agent Framework](https://techcommunity.microsoft.com/blog/appsonazureblog/part-3-client-side-multi-agent-orchestration-on-azure-app-service-with-microsoft/4466728)
63-
64-
### [Java](#tab/java)
65-
- [Tutorial: Build an agentic web app in Azure App Service with Microsoft Semantic Kernel or Foundry Agent Service (Spring Boot)](tutorial-ai-agent-web-app-semantic-kernel-java.md)
66-
67-
### [Node.js](#tab/nodejs)
68-
- [Tutorial: Build an agentic web app in Azure App Service with LangGraph or Foundry Agent Service (Node.js)](tutorial-ai-agent-web-app-langgraph-foundry-node.md)
69-
70-
### [Python](#tab/python)
71-
- [Tutorial: Build an agentic web app in Azure App Service with LangGraph or Foundry Agent Service (Python)](tutorial-ai-agent-web-app-langgraph-foundry-python.md)
72-
-----
73-
74-
## App Service as OpenAPI tool in Microsoft Foundry agent
75-
76-
Empower your existing web apps by exposing their capabilities to Foundry Agent Service using OpenAPI. Many web apps already provide REST APIs, making them ideal candidates for integration into agents that can call REST APIs as tools. By connecting Foundry Agent Service to these APIs, you can rapidly create powerful, feature-rich agents with little code.
77-
78-
### [.NET](#tab/dotnet)
79-
- [Add an App Service app as a tool in Foundry Agent Service (.NET)](tutorial-ai-integrate-azure-ai-agent-dotnet.md)
80-
81-
### [Java](#tab/java)
82-
- [Add an App Service app as a tool in Foundry Agent Service (Spring Boot)](tutorial-ai-integrate-azure-ai-agent-java.md)
83-
84-
### [Node.js](#tab/nodejs)
85-
- [Add an App Service app as a tool in Foundry Agent Service (Node.js)](tutorial-ai-integrate-azure-ai-agent-node.md)
86-
87-
### [Python](#tab/python)
88-
- [Add an App Service app as a tool in Foundry Agent Service (Python)](tutorial-ai-integrate-azure-ai-agent-python.md)
89-
-----
90-
91-
## App Service as Model Context Protocol (MCP) servers
92-
93-
Integrate your web app as a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) server to extend the capabilities of leading personal AI agents such as GitHub Copilot Chat, Cursor, and Winsurf. By exposing your app's APIs through MCP, you can supercharge these agents with the unique features and business logic your web app already provides, without major development effort or rearchitecture.
94-
95-
### [.NET](#tab/dotnet)
96-
- [Integrate an App Service app as an MCP Server for GitHub Copilot Chat (.NET)](tutorial-ai-model-context-protocol-server-dotnet.md)
97-
- Sample: [Host a .NET MCP server on Azure App Service](https://github.com/Azure-Samples/remote-mcp-webapp-dotnet)
98-
99-
### [Java](#tab/java)
100-
- [Integrate an App Service app as an MCP Server for GitHub Copilot Chat (Spring Boot)](tutorial-ai-model-context-protocol-server-java.md)
101-
102-
### [Node.js](#tab/nodejs)
103-
- [Integrate an App Service app as an MCP Server for GitHub Copilot Chat (Node.js)](tutorial-ai-model-context-protocol-server-node.md)
104-
- Sample: [Host a Node.js MCP server on Azure App Service](https://github.com/Azure-Samples/remote-mcp-webapp-node)
105-
106-
### [Python](#tab/python)
107-
- [Integrate an App Service app as an MCP Server for GitHub Copilot Chat (Python)](tutorial-ai-model-context-protocol-server-python.md)
108-
- Sample: [Host a Python MCP server on Azure App Service](https://github.com/Azure-Samples/remote-mcp-webapp-python)
109-
- Sample: [Host a Python MCP server with key-based authorization on Azure App Service](https://github.com/Azure-Samples/remote-mcp-webapp-python-auth)
110-
- Sample: [Host a Python MCP server with OAuth 2.0 authorization on Azure App Service](https://github.com/Azure-Samples/remote-mcp-webapp-python-auth-oauth) - Deploy an MCP server with Python and [Open Authorization (OAuth) 2.0 authorization with Microsoft Entra ID](/entra/architecture/auth-oauth2).
111-
-----
112-
113-
## Use a local SLM (sidecar container)
114-
115-
Deploy a web app with a local small language model (SLM) as a sidecar container to run AI models entirely within your App Service environment. No outbound calls or external AI service dependencies required. This approach is ideal if you have strict data privacy or compliance requirements, as all AI processing and data remain local to your app. App Service offers high-performance, memory-optimized pricing tiers needed for running SLMs in sidecars.
116-
117-
### [.NET](#tab/dotnet)
118-
- [Tutorial: Run chatbot in App Service with a Phi-4 sidecar extension (ASP.NET Core)](tutorial-ai-slm-dotnet.md)
119-
120-
### [Java](#tab/java)
121-
- [Tutorial: Run chatbot in App Service with a Phi-4 sidecar extension (Spring Boot)](tutorial-ai-slm-spring-boot.md)
122-
123-
### [Node.js](#tab/nodejs)
124-
- [Tutorial: Run chatbot in App Service with a Phi-4 sidecar extension (Express.js)](tutorial-ai-slm-expressjs.md)
125-
126-
### [Python](#tab/python)
127-
- [Tutorial: Run chatbot in App Service with a Phi-4 sidecar extension (FastAPI)](tutorial-ai-slm-fastapi.md)
128-
-----
129-
130-
## Authenticate tool calls to App Service
28+
## AI scenarios in App Service
13129

132-
Secure your AI-powered applications with Microsoft Entra authentication and authorization. These guides show you how to protect your OpenAPI tools and MCP servers in Azure App Service so only authorized users and agents can access them.
30+
Explore these scenarios to find the right approach for your AI-powered application:
13331

134-
- [Secure OpenAPI endpoints for Foundry Agent Service](configure-authentication-ai-foundry-openapi-tool.md) - Secure your App Service app when used as an OpenAPI tool in Foundry Agent Service with Microsoft Entra authentication
135-
- [Configure built-in MCP server authorization (Preview)](configure-authentication-mcp.md) - Overview of authentication methods for MCP servers
136-
- [Secure Model Context Protocol calls to Azure App Service from Visual Studio Code with Microsoft Entra authentication](configure-authentication-mcp-server-vscode.md) - Step-by-step guide to secure your MCP server for GitHub Copilot Chat in VS Code
32+
| Scenario | Description | Learn more |
33+
|----------|-------------|------------|
34+
| **Chatbots and RAG applications** | Build intelligent chatbots and RAG-powered web apps with Azure OpenAI (and optional Azure AI Search) for grounded, context-aware responses directly in App Service. | [Get started](scenario-ai-chatbot-retrieval-augmented-generation.md) |
35+
| **Agentic web applications** | Add autonomous, reasoning AI agents to your existing CRUD web apps using frameworks like Semantic Kernel, LangGraph, or Foundry Agent Service to enable planning, multi-step actions, and natural language interactions. | [Get started](scenario-ai-agentic-web-apps.md) |
36+
| **OpenAPI tools for Foundry agents** | Expose your App Service REST APIs as secure, callable tools via OpenAPI specs so Foundry Agent Service agents can discover and invoke them for real-world actions and data access. | [Get started](scenario-ai-openapi-tool.md) |
37+
| **Model Context Protocol servers** | Host your App Service app as an MCP server to extend AI coding assistants like GitHub Copilot Chat, Cursor, and Winsurf with your custom business logic, APIs, and data context via the Model Context Protocol. | [Get started](scenario-ai-model-context-protocol-server.md) |
38+
| **Local small language models** | Run small language models (e.g., Phi-3/Phi-4) entirely locally as sidecar containers in App Service for full data privacy, zero-latency inference, offline capability, and no external API calls or dependencies. | [Get started](scenario-ai-local-small-language-model.md) |
39+
| **Secure AI applications** | Secure your OpenAPI tools, MCP servers, and AI endpoints in App Service using Microsoft Entra ID authentication, managed identities, and built-in authorization to ensure only authorized users and agents can access them. | [Get started](scenario-ai-authentication.md) |
13740

13841
## More resources
13942

14043
- [Azure OpenAI Service documentation](/azure/ai-services/openai/)
14144
- [Semantic Kernel documentation](/semantic-kernel/)
45+
- [Model Context Protocol](https://modelcontextprotocol.io/introduction)
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
title: Build agentic web applications in Azure App Service
3+
description: Transform traditional CRUD web applications for the AI era by adding agentic capabilities with frameworks like Microsoft Semantic Kernel, LangGraph, or Foundry Agent Service.
4+
author: cephalin
5+
ms.author: cephalin
6+
ms.service: azure-app-service
7+
ms.topic: how-to
8+
ms.date: 01/29/2026
9+
ms.custom:
10+
- build-2025
11+
ms.collection: ce-skilling-ai-copilot
12+
ms.update-cycle: 180-days
13+
---
14+
15+
# Build agentic web applications
16+
17+
Transform your traditional CRUD web applications for the AI era by adding agentic capabilities with frameworks like Microsoft Semantic Kernel, LangGraph, or Foundry Agent Service. Instead of users navigating forms, textboxes, and dropdowns, you can offer a conversational interface that lets users "talk to an agent" that intelligently performs the same operations your app provides. This approach enables your web app to reason, plan, and take actions on behalf of users.
18+
19+
## Overview
20+
21+
Agentic web applications represent a paradigm shift from traditional web interfaces. Rather than requiring users to understand and navigate your application's structure, agentic apps use AI to understand user intent, plan multi-step actions, and execute complex workflows autonomously.
22+
23+
Key characteristics of agentic web applications include:
24+
25+
- **Conversational interfaces**: Users express goals in natural language rather than clicking through forms
26+
- **Autonomous reasoning**: Agents break down complex requests into executable steps
27+
- **Multi-step planning**: Agents chain multiple operations to accomplish sophisticated tasks
28+
- **Tool usage**: Agents call your existing APIs and functions as needed to complete user requests
29+
- **Context awareness**: Agents maintain conversation history and application state across interactions
30+
- **Error handling**: Agents recover from failures and adapt their approach based on results
31+
32+
Frameworks like Semantic Kernel, LangGraph, and Foundry Agent Service provide the orchestration layer that connects large language models with your application's business logic, enabling these agentic capabilities in your App Service applications.
33+
34+
## When to build agentic web applications
35+
36+
Consider adding agentic capabilities when:
37+
38+
- **Complex workflows are common**: Users frequently need to perform multi-step operations that could be simplified through conversation
39+
- **Domain expertise is required**: Your application requires specialized knowledge that an AI agent can learn and apply
40+
- **User experience matters**: You want to reduce training time and make your application more intuitive
41+
- **Data exploration is important**: Users need to query, analyze, and visualize data in flexible ways
42+
- **Task automation is valuable**: Repetitive or time-consuming workflows could benefit from AI-assisted completion
43+
44+
Agentic patterns work especially well for enterprise applications, data analysis tools, content management systems, and administrative interfaces where the combination of natural language understanding and automated workflows provides significant productivity gains.
45+
46+
## Choosing an agent framework
47+
48+
App Service supports any agent framework that runs on your chosen language stack. You have complete flexibility to use the tools and frameworks that best fit your needs. Popular options include:
49+
50+
- **Semantic Kernel**: Microsoft's cross-platform SDK for .NET, Python, and Java, ideal for building custom agents with full control
51+
- **LangGraph**: Python and JavaScript framework for building stateful, multi-agent systems with complex workflows
52+
- **Foundry Agent Service**: Managed service for hosting production-ready agents with built-in monitoring and scalability
53+
- **Custom frameworks**: Any other agentic framework supported by your language (e.g., AutoGen, CrewAI, or proprietary solutions)
54+
55+
## Get started with tutorials
56+
57+
## [.NET](#tab/dotnet)
58+
- [Tutorial: Build an agentic web app in Azure App Service with Microsoft Semantic Kernel or Foundry Agent Service (.NET)](tutorial-ai-agent-web-app-semantic-kernel-foundry-dotnet.md)
59+
- Blog series: Build long-running AI agents with Microsoft Agent Framework
60+
- [Part 1: Build long-running AI agents on Azure App Service with Microsoft Agent Framework](https://techcommunity.microsoft.com/blog/appsonazureblog/build-long-running-ai-agents-on-azure-app-service-with-microsoft-agent-framework/4463159)
61+
- [Part 2: Build long-running AI agents on Azure App Service with Microsoft Agent Framework](https://techcommunity.microsoft.com/blog/appsonazureblog/part-2-build-long-running-ai-agents-on-azure-app-service-with-microsoft-agent-fr/4465825)
62+
- [Part 3: Client-side multi-agent orchestration on Azure App Service with Microsoft Agent Framework](https://techcommunity.microsoft.com/blog/appsonazureblog/part-3-client-side-multi-agent-orchestration-on-azure-app-service-with-microsoft/4466728)
63+
64+
## [Java](#tab/java)
65+
- [Tutorial: Build an agentic web app in Azure App Service with Microsoft Semantic Kernel (Spring Boot)](tutorial-ai-agent-web-app-semantic-kernel-java.md)
66+
67+
## [Node.js](#tab/nodejs)
68+
- [Tutorial: Build an agentic web app in Azure App Service with LangGraph or Foundry Agent Service (Node.js)](tutorial-ai-agent-web-app-langgraph-foundry-node.md)
69+
70+
## [Python](#tab/python)
71+
- [Tutorial: Build an agentic web app in Azure App Service with LangGraph or Foundry Agent Service (Python)](tutorial-ai-agent-web-app-langgraph-foundry-python.md)
72+
-----
73+
74+
## Related content
75+
76+
- [Integrate AI into your Azure App Service applications](overview-ai-integration.md)
77+
- [Semantic Kernel documentation](/semantic-kernel/)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Secure AI applications in Azure App Service
3+
description: Secure your AI-powered applications with Microsoft Entra authentication and authorization. Protect your OpenAPI tools and MCP servers in Azure App Service so only authorized users and agents can access them.
4+
author: cephalin
5+
ms.author: cephalin
6+
ms.service: azure-app-service
7+
ms.topic: how-to
8+
ms.date: 01/29/2026
9+
ms.custom:
10+
- build-2025
11+
ms.collection: ce-skilling-ai-copilot
12+
ms.update-cycle: 180-days
13+
---
14+
15+
# Authenticate tool calls to App Service
16+
17+
Secure your AI-powered applications with Microsoft Entra authentication and authorization. These guides show you how to protect your OpenAPI tools and MCP servers in Azure App Service so only authorized users and agents can access them.
18+
19+
## Authentication guides
20+
21+
- [Authenticate Microsoft Foundry tool calls](configure-authentication-ai-foundry-openapi-tool.md) - Secure your App Service app when used as an OpenAPI tool in Foundry Agent Service with Microsoft Entra authentication
22+
- [Secure a Model Context Protocol server in Azure App Service](configure-authentication-mcp.md) - Overview of authentication methods for MCP servers
23+
- [Secure Model Context Protocol calls to Azure App Service from Visual Studio Code with Microsoft Entra authentication](configure-authentication-mcp-server-vscode.md) - Step-by-step guide to secure your MCP server for GitHub Copilot Chat in VS Code
24+
25+
## Related content
26+
27+
- [Integrate AI into your Azure App Service applications](overview-ai-integration.md)

0 commit comments

Comments
 (0)