Skip to content

Commit 860286e

Browse files
Aghyad85ggailey777
authored andcommitted
Update functions-app-settings.md
1) Add details for the system /user-assigned identity in conjunction with ApplicationInsights_AUTHENTICATION_STRING. 2) Remove instead, as it might mislead the customer.
1 parent b83b033 commit 860286e

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

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

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,19 @@ Don't use both `APPINSIGHTS_INSTRUMENTATIONKEY` and `APPLICATIONINSIGHTS_CONNECT
5858

5959
## APPLICATIONINSIGHTS_AUTHENTICATION_STRING
6060

61-
The connection string for Application Insights by using Microsoft Entra authentication. Use this setting when you must connect to your Application Insights workspace by using Microsoft Entra authentication. The string contains the client ID of either a system-assigned or a user-assigned managed identity that is authorized to publish telemetry to your Application Insights workspace. For more information, see [Microsoft Entra authentication for Application Insights](../azure-monitor/app/azure-ad-authentication.md).
61+
The connection string for Application Insights by using Microsoft Entra authentication. Use this setting when you must connect to your Application Insights workspace by using Microsoft Entra authentication. For more information, see [Microsoft Entra authentication for Application Insights](../azure-monitor/app/azure-ad-authentication.md).
6262

63-
|Key|Sample value|
64-
|---|------------|
65-
|APPLICATIONINSIGHTS_AUTHENTICATION_STRING|`ClientId=<YOUR_CLIENT_ID>;Authorization=AAD`|
63+
- For system-assigned identity:
64+
65+
| App setting | Value |
66+
| -------------- |--------- |
67+
| APPLICATIONINSIGHTS_AUTHENTICATION_STRING | `Authorization=AAD` |
68+
69+
- For user-assigned identity:
70+
71+
| App setting | Value |
72+
| ------------- | -------- |
73+
| APPLICATIONINSIGHTS_AUTHENTICATION_STRING | `Authorization=AAD;ClientId={Client id of the User-Assigned Identity}` |
6674

6775
[!INCLUDE [functions-app-insights-disable-local-note](../../includes/functions-app-insights-disable-local-note.md)]
6876

@@ -79,7 +87,7 @@ For more information, see [Connection strings](../azure-monitor/app/sdk-connecti
7987
|---|------------|
8088
|APPLICATIONINSIGHTS_CONNECTION_STRING|`InstrumentationKey=...`|
8189

82-
To connect to Application Insights with Microsoft Entra authentication, you should instead use [`APPLICATIONINSIGHTS_AUTHENTICATION_STRING`](#applicationinsights_authentication_string).
90+
To connect to Application Insights with Microsoft Entra authentication, you should use [`APPLICATIONINSIGHTS_AUTHENTICATION_STRING`](#applicationinsights_authentication_string).
8391

8492
## AZURE_FUNCTION_PROXY_DISABLE_LOCAL_CALL
8593

0 commit comments

Comments
 (0)