Skip to content

Commit a200283

Browse files
committed
updated image link
1 parent 8818ace commit a200283

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/azure-monitor/app/migrate-from-instrumentation-keys-to-connection-strings.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ This guide walks through migrating from [instrumentation keys](separate-resource
1818

1919
1. Find your connection string displayed on the Overview blade of your Application Insights resource.
2020

21-
<img src="./media/\migrate-from-instrumentation-keys-to-connection-strings\migrate-from-instrumentation-keys-to-connection-strings.png" alt="Screenshot displaying Application Insights overview and connection string" />
21+
:::image type="complex" source="media/migrate-from-instrumentation-keys-to-connection-strings/migrate-from-instrumentation-keys-to-connection-strings.png" alt-text="Screenshot displaying Application Insights overview and connection string" lightbox="media/migrate-from-instrumentation-keys-to-connection-strings/migrate-from-instrumentation-keys-to-connection-strings.png":::
22+
:::image-end:::
2223

2324
2. Hover over the connection string and select the “Copy to clipboard” icon.
2425

@@ -33,7 +34,7 @@ You can use environment variables to easily pass a connection string to the Appl
3334

3435
To set a connection string via environment variable, place the value of the connection string into an environment variable named “APPLICATIONINSIGHTS_CONNECTION_STRING”. This process can be automated in your Azure deployments. For example, the following ARM template shows how you can automatically include the correct connection string with an App Services deployment (be sure to include any other App Settings your app requires):
3536

36-
```csharp
37+
```JSON
3738
{
3839
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
3940
"contentVersion": "1.0.0.0",

0 commit comments

Comments
 (0)