Skip to content

Commit 2682a4b

Browse files
Merge pull request #280665 from ggailey777/ggailey777-patch-1
[Functions] Recommend disable local auth for App Insights w/ Entra
2 parents 4c96f9a + 4c6ec19 commit 2682a4b

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

articles/azure-functions/configure-monitoring.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Configure monitoring for Azure Functions
33
description: Learn how to connect your function app to Application Insights for monitoring and how to configure data collection.
44
ms.service: azure-functions
55
ms.topic: how-to
6-
ms.date: 07/05/2024
6+
ms.date: 07/11/2024
77
ms.custom: devdivchpfy22
88

99
# Customer intent: As a developer, I want to understand how to configure monitoring for my functions correctly, so I can collect the data that I need.
@@ -293,6 +293,8 @@ For a function app to send data to Application Insights, it needs to connect to
293293

294294
When you create your function app in the [Azure portal](./functions-get-started.md) from the command line by using [Azure Functions Core Tools](./create-first-function-cli-csharp.md) or [Visual Studio Code](./create-first-function-vs-code-csharp.md), Application Insights integration is enabled by default. The Application Insights resource has the same name as your function app, and is created either in the same region or in the nearest region.
295295

296+
[!INCLUDE [functions-app-insights-disable-local-note](../../includes/functions-app-insights-disable-local-note.md)]
297+
296298
### New function app in the portal
297299

298300
To review the Application Insights resource being created, select it to expand the **Application Insights** window. You can change the **New resource name** or select a different **Location** in an [Azure geography](https://azure.microsoft.com/global-infrastructure/geographies/) where you want to store your data.

articles/azure-functions/functions-app-settings.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: App settings reference for Azure Functions
33
description: Reference documentation for the Azure Functions app settings or environment variables used to configure functions apps.
44
ms.topic: conceptual
55
ms.custom: devx-track-extended-java, devx-track-python, ignite-2023, build-2024, linux-related-content
6-
ms.date: 12/28/2023
6+
ms.date: 07/11/2024
77
---
88

99
# App settings reference for Azure Functions
@@ -64,6 +64,8 @@ The connection string for Application Insights by using Microsoft Entra authenti
6464
|---|------------|
6565
|APPLICATIONINSIGHTS_AUTHENTICATION_STRING|`ClientId=<YOUR_CLIENT_ID>;Authorization=AAD`|
6666

67+
[!INCLUDE [functions-app-insights-disable-local-note](../../includes/functions-app-insights-disable-local-note.md)]
68+
6769
## APPLICATIONINSIGHTS_CONNECTION_STRING
6870

6971
The connection string for Application Insights. Don't use both `APPINSIGHTS_INSTRUMENTATIONKEY` and `APPLICATIONINSIGHTS_CONNECTION_STRING`. While the use of `APPLICATIONINSIGHTS_CONNECTION_STRING` is recommended in all cases, it's required in the following cases:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
author: ggailey777
3+
ms.service: azure-functions
4+
ms.topic: include
5+
ms.date: 07/12/2024
6+
ms.author: glenga
7+
---
8+
9+
>[!NOTE]
10+
>When using `APPLICATIONINSIGHTS_AUTHENTICATION_STRING` to connect to Application Insights using Microsoft Entra authentication, you should also [Disable local authentication for Application Insights](../articles/azure-monitor/app/azure-ad-authentication.md#disable-local-authentication). This configuration requires Microsoft Entra authentication in order for telemetry to be ingested into your workspace.
11+

0 commit comments

Comments
 (0)