Skip to content

Commit 0103f26

Browse files
Merge pull request #309801 from MicrosoftDocs/main
Auto Publish – main to live - 2025-12-20 23:00 UTC
2 parents 259980d + 300f98a commit 0103f26

2 files changed

Lines changed: 27 additions & 27 deletions

File tree

articles/azure-functions/functions-continuous-deployment.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: Continuous deployment for Azure Functions
2+
title: Continuous Deployment for Azure Functions
33
description: Use the continuous deployment features of Azure App Service when publishing to Azure Functions.
44
ms.assetid: 361daf37-598c-4703-8d78-c77dbef91643
5-
ms.topic: conceptual
6-
ms.date: 05/01/2024
5+
ms.topic: concept-article
6+
ms.date: 12/16/2025
77
#Customer intent: As a developer, I want to learn how to set up a continuous integration environment so that function app updates are deployed automatically when I check in my code changes.
88
---
99

@@ -15,7 +15,7 @@ You should always configure continuous deployment for a staging slot and not for
1515

1616
Steps in this article show you how to configure continuous code deployments to your function app in Azure by using the Deployment Center in the Azure portal. You can also [configure continuous integration using the Azure CLI](/cli/azure/functionapp/deployment). These steps can target either a staging or a production slot.
1717

18-
Functions supports these sources for continuous deployment to your app:
18+
Azure Functions supports these sources for continuous deployment to your app:
1919

2020
### [Azure Repos](#tab/azure-repos)
2121

@@ -35,16 +35,16 @@ Maintain your project code in a dedicated Git server hosted in the same App Serv
3535

3636
---
3737

38-
You can also connect your function app to an external Git repository, but this requires a manual synchronization. For more information about deployment options, see [Deployment technologies in Azure Functions](functions-deployment-technologies.md).
38+
You can also connect your function app to an external Git repository, but this option requires a manual synchronization. For more information about deployment options, see [Deployment technologies in Azure Functions](functions-deployment-technologies.md).
3939

4040
>[!NOTE]
41-
>Continuous deployment options covered in this article are specific to code-only deployments. For containerized function app deployments, see [Enable continuous deployment of containers to Azure](functions-how-to-custom-container.md#enable-continuous-deployment-to-azure).
41+
>Continuous deployment options covered in this article are specific to code-only deployments. For containerized function app deployments, see the **Enable continuous deployment of containers to Azure** section in [Work with containers and Azure Functions](functions-how-to-custom-container.md).
4242
4343
## Requirements
4444

4545
The unit of deployment for functions in Azure is the function app. For continuous deployment to succeed, the directory structure of your project must be compatible with the basic folder structure that Azure Functions expects. When you create your code project using Azure Functions Core Tools, Visual Studio Code, or Visual Studio, the Azure Functions templates are used to create code projects with the correct directory structure. All functions in a function app are deployed at the same time and in the same package.
4646

47-
After you enable continuous deployment, access to function code in the Azure portal is configured as *read-only* because the _source of truth_ is known to reside elsewhere.
47+
After you enable continuous deployment, access to function code in the Azure portal is configured as *read-only* because the *source of truth* is known to reside elsewhere.
4848

4949
>[!NOTE]
5050
>The Deployment Center doesn't support enabling continuous deployment for a function app with [inbound network restrictions](functions-networking-options.md?#inbound-networking-features). You need to instead configure the build provider workflow directly in GitHub or Azure Pipelines. These workflows also require you to use a virtual machine in the same virtual network as the function app as either a [self-hosted agent (Azure Pipelines)](/azure/devops/pipelines/agents/agents#self-hosted-agents) or a [self-hosted runner (GitHub)](https://docs.github.com/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners).
@@ -56,21 +56,21 @@ Building your code project is part of the deployment process. The specific build
5656
> [!IMPORTANT]
5757
> For increased security, consider using a build provider that supports managed identities, including Azure Pipelines and GitHub Actions. The App Service (Kudu) service requires you to [enable basic authentication](#enable-basic-authentication-for-deployments) and work with text-based credentials.
5858
59-
Functions supports these build providers:
59+
Azure Functions supports these build providers:
6060

6161
### [Azure Pipelines](#tab/azure-pipelines)
6262

63-
Azure Pipelines is one of the services in Azure DevOps and the default build provider for Azure Repos projects. You can also use Azure Pipelines to build projects from GitHub. In Azure Pipelines, there's an [`AzureFunctionApp`](/azure/devops/pipelines/tasks/reference/azure-function-app-v2) task designed specifically for deploying to Azure Functions. This task provides you with control over how the project gets built, packaged, and deployed. Supports managed identities.
63+
Azure Pipelines is one of the services in Azure DevOps and the default build provider for Azure Repos projects. You can also use Azure Pipelines to build projects from GitHub. In Azure Pipelines, there's an [`AzureFunctionApp`](/azure/devops/pipelines/tasks/reference/azure-function-app-v2) task designed specifically for deploying to Azure Functions. This task provides you with control over how the project gets built, packaged, and deployed. Azure Pipelines supports managed identities.
6464

6565
### [GitHub Actions](#tab/github-actions)
6666

67-
GitHub Actions is the default build provider for GitHub projects. GitHub Actions provides you with control over how the project gets built, packaged, and deployed. Supports managed identities.
67+
The default build provider for GitHub projects is GitHub Actions. It provides you with control over how the project gets built, packaged, and deployed. This provider supports managed identities.
6868

6969
### [App Service (Kudu) service](#tab/app-service)
7070

71-
The App Service platform maintains a native deployment service ([Project Kudu](https://github.com/projectkudu/kudu/wiki)) to support local Git deployment, some container deployments, and other deployment sources not supported by either Azure Pipelines or GitHub Actions. Remote builds, packaging, and other maintenance tasks are performed in a subdomain of `scm.azurewebsites.net` dedicated to your app, such as `https://myfunctionapp.scm.azurewebsites.net`. This build service can only be used when the `scm` site can be accessed by your deployment. While you can use identities to connect to the `scm` endpoint, many publishing tools instead require basic authentication to connect to the `scm` endpoint.
71+
The App Service platform maintains a native deployment service called [Project Kudu](https://github.com/projectkudu/kudu/wiki). This service supports local Git deployment, some container deployments, and other deployment sources not supported by either Azure Pipelines or GitHub Actions. Remote builds, packaging, and other maintenance tasks are performed in a subdomain of `scm.azurewebsites.net` dedicated to your app, such as `https://myfunctionapp.scm.azurewebsites.net`. This build service can only be used when your deployment can access the `scm` site. While you can use identities to connect to the `scm` endpoint, many publishing tools instead require basic authentication to connect to the `scm` endpoint.
7272

73-
This build provider is used when you deploy your code project by using Visual Studio, Visual Studio Code, or Azure Functions Core Tools. If you haven't already deployed code to your function app by using one of these tools, you might need to [Enable basic authentication for deployments](#enable-basic-authentication-for-deployments) to use the `scm` site.
73+
This build provider is used when you deploy your code project by using Visual Studio, Visual Studio Code, or Azure Functions Core Tools. If you didn't already use one of these tools to deploy code to your function app, you might need to [Enable basic authentication for deployments](#enable-basic-authentication-for-deployments) to use the `scm` site.
7474

7575
---
7676

@@ -136,7 +136,7 @@ You can't deploy from local git using GitHub Actions. Instead choose the [App Se
136136

137137
1. For **Source**, select **GitHub**. If **App Service build service** provider isn't the default, select **Change provider**, select **App Service build service**, and then select **OK**.
138138

139-
1. If you haven't already authorized GitHub access, select **Authorize**. Provide your GitHub credentials and select **Sign in**. If you need to authorize a different GitHub account, select **Change Account** and sign in with another account.
139+
1. If your GitHub access isn't already authorized, select **Authorize**. Provide your GitHub credentials and select **Sign in**. If you need to authorize a different GitHub account, select **Change Account** and sign in with another account.
140140

141141
1. Select values for **Organization**, **Repository**, and **Branch**. The values are based on the location of your code.
142142

@@ -150,7 +150,7 @@ When a new commit is pushed to the selected branch, the service pulls your code,
150150

151151
1. For **Source**, select **Bitbucket**.
152152

153-
1. If you haven't already authorized Bitbucket access, select **Authorize** and then **Grant access**. If requested, provide your Bitbucket credentials and select **Sign in**. If you need to authorize a different Bitbucket account, select **Change Account** and sign in with another account.
153+
1. If your Bitbucket access isn't already authorized, select **Authorize** and then **Grant access**. If requested, provide your Bitbucket credentials and select **Sign in**. If you need to authorize a different Bitbucket account, select **Change Account** and sign in with another account.
154154

155155
1. Select values for **Organization**, **Repository**, and **Branch**. The values are based on the location of your code.
156156

@@ -174,9 +174,9 @@ After deployment finishes, all code from the specified source is deployed to you
174174

175175
## Enable continuous deployment during app creation
176176

177-
Currently, you can configure continuous deployment from GitHub using GitHub Actions when you create your function app in the Azure portal. You can do this on the **Deployment** tab in the **Create Function App** page.
177+
Currently, you can configure continuous deployment from GitHub using GitHub Actions when you create your function app in the Azure portal. You can make this setting on the **Deployment** tab in the **Create Function App** page.
178178

179-
If you want to use a different deployment source or build provider for continuous integration, first create your function app and then return to the portal and [set up continuous integration in the Deployment Center](#credentials).
179+
If you want to use a different deployment source or build provider for continuous integration. First, create your function app, and then return to the portal and [set up continuous integration in the Deployment Center](#credentials).
180180

181181
## Enable basic authentication for deployments
182182

articles/azure-functions/streaming-logs.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: Stream execution logs in Azure Functions
2+
title: Stream Execution Logs in Azure Functions
33
description: Learn how you can stream logs for functions in near real time.
4-
ms.date: 6/16/2025
4+
ms.date: 12/17/2025
55
ms.topic: how-to
66
ms.devlang: azurecli
77
ms.custom: devx-track-azurepowershell
@@ -12,18 +12,18 @@ ms.custom: devx-track-azurepowershell
1212

1313
While developing an application, you often want to see what's being written to the logs in near real time when running in Azure.
1414

15-
There are two ways to view a stream of log files being generated by your function executions.
15+
There are two ways to view the stream of log files that your function executions generate.
1616

1717
## [Live Metrics](#tab/live-metrics)
1818

19-
When your function app is [connected to Application Insights](configure-monitoring.md#enable-application-insights-integration), you can view log data and other metrics in near real-time in the Azure portal using [Live Metrics Stream](/azure/azure-monitor/app/live-stream). Use this method when monitoring functions running on multiple-instances and supports all plan types. This method uses [sampled data](configure-monitoring.md#configure-sampling). _This is the recommended way to view streaming logs._
19+
When your function app is [connected to Application Insights](configure-monitoring.md#enable-application-insights-integration), you can use [Live Metrics Stream](/azure/azure-monitor/app/live-stream) to view log data and other metrics in near real-time in the Azure portal. Live Metrics stream is *the recommended way to view streaming logs* it supports all plan types and is the method to use when monitoring functions running on multiple-instances. It also uses [sampled data](configure-monitoring.md#configure-sampling), so it can protect you from producing too much data during times of peak loads.
2020

2121
>[!IMPORTANT]
2222
>By default, the Live Metrics stream includes logs from all apps connected to a given Application Insights instance. When you have more than one app sending log data, you should [filter your log stream data](/azure/azure-monitor/app/live-stream#filter-by-server-instance).
2323
2424
## [Built-in logs](#tab/built-in)
2525

26-
The App Service platform lets you view a stream of your application log files. This is equivalent to the output seen when you debug your functions during [local development](functions-develop-local.md) and when you use the **Test** tab in the portal. All log-based information is displayed. For more information, see [Stream logs](../app-service/troubleshoot-diagnostic-logs.md#stream-logs). This streaming method supports only a single instance, and can't be used with an app running on Linux in a Consumption plan. When your function is scaled to multiple instances, data from other instances isn't shown using this method.
26+
The App Service platform lets you view a stream of your application log files. This method is equivalent to the output seen when you debug your functions during [local development](functions-develop-local.md) and when you use the **Test** tab in the portal. All log-based information is displayed. For more information, see [Stream logs](../app-service/troubleshoot-diagnostic-logs.md#stream-logs). This streaming method supports only a single instance, and can't be used with an app running on Linux in a Consumption plan. When your function is scaled to multiple instances, data from other instances isn't shown using this method.
2727

2828
---
2929

@@ -37,7 +37,7 @@ Log streams can be viewed both in the portal and in most local development envir
3737

3838
1. In Application Insights, select **Live Metrics Stream**. [Sampled log entries](configure-monitoring.md#configure-sampling) are displayed under **Sample Telemetry**.
3939

40-
![View Live Metrics Stream in the portal](./media/functions-monitoring/live-metrics-stream.png)
40+
:::image type="content" source="./media/functions-monitoring/live-metrics-stream.png" alt-text="Screenshot showing how to view Live Metrics Stream in the portal.":::
4141

4242
## [Visual Studio Code](#tab/vs-code/live-metrics)
4343

@@ -59,11 +59,11 @@ func azure functionapp logstream <FunctionAppName> --browser
5959

6060
To view streaming logs in the portal, select the **Platform features** tab in your function app. Then, under **Monitoring**, choose **Log streaming**.
6161

62-
![Enable streaming logs in the portal](./media/functions-monitoring/enable-streaming-logs-portal.png)
62+
:::image type="content" source="./media/functions-monitoring/enable-streaming-logs-portal.png" alt-text="Screenshot showing how to enable streaming logs in the portal.":::
6363

64-
This connects your app to the log streaming service and application logs are displayed in the window. You can toggle between **Application logs** and **Web server logs**.
64+
This setting connects your app to the log streaming service and application logs are displayed in the window. You can toggle between **Application logs** and **Web server logs**.
6565

66-
![View streaming logs in the portal](./media/functions-monitoring/streaming-logs-window.png)
66+
:::image type="content" source="./media/functions-monitoring/streaming-logs-window.png" alt-text="Screenshot showing how to view streaming logs in the portal.":::
6767

6868
## [Visual Studio Code](#tab/vs-code/built-in)
6969

@@ -89,5 +89,5 @@ func azure functionapp logstream <FunctionAppName>
8989

9090
## Next steps
9191

92-
+ [Monitor Azure Functions](functions-monitoring.md)
93-
+ [Analyze Azure Functions telemetry in Application Insights](analyze-telemetry-data.md)
92+
- [Monitor Azure Functions](functions-monitoring.md)
93+
- [Analyze Azure Functions telemetry in Application Insights](analyze-telemetry-data.md)

0 commit comments

Comments
 (0)