Skip to content

Commit db359c7

Browse files
Merge pull request #265876 from AaronMaxwell/aaronmax-convert-classic-resource-support-update
Supportability update
2 parents 2e31e3a + c879004 commit db359c7

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

articles/azure-monitor/app/convert-classic-resource.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,9 @@ Workspace-based resources:
2525
> [!IMPORTANT]
2626
> * On February 29, 2024, continuous export will be deprecated as part of the classic Application Insights deprecation.
2727
>
28-
29-
>
30-
> * You can enable [diagnostic settings on classic Application Insights]() before you [migrate to a workspace-based Application Insights resource](convert-classic-resource.md).All [workspace-based Application Insights resources](./create-workspace-resource.md) must use [diagnostic settings](./create-workspace-resource.md#export-telemetry).
31-
>
28+
> * [Workspace-based Application Insights resources](./create-workspace-resource.md) are not compatible with continuous export. We recommend migrating to [diagnostic settings](../essentials/diagnostic-settings.md) on classic Application Insights resources before transitioning to a workspace-based Application Insights. This ensures continuity and compatibility of your diagnostic settings.
29+
>
3230
> * Diagnostic settings export might increase costs. For more information, see [Diagnostic settings-based export](export-telemetry.md#diagnostic-settings-based-export).
33-
>
3431
3532
## New capabilities
3633

@@ -327,21 +324,30 @@ No. There's no impact to [Live Metrics](live-stream.md#live-metrics-monitor-and-
327324

328325
### What happens with continuous export after migration?
329326

330-
To continue with automated exports, you will need to migrate to [diagnostic settings](/previous-versions/azure/azure-monitor/app/continuous-export-diagnostic-setting) before migrating to workspace-based resource. The diagnostic setting will carry over in the migration to workspace-based Application Insights.
327+
To continue with automated exports, you'll need to migrate to [diagnostic settings](/previous-versions/azure/azure-monitor/app/continuous-export-diagnostic-setting) before migrating to workspace-based resource. The diagnostic setting carries over in the migration to workspace-based Application Insights.
331328

332329
### How do I ensure a successful migration of my App Insights resource using Terraform?
333330

334-
If you are using Terraform to manage your Azure resources, it is important to use the latest version of the Terraform azurerm provider before attempting to upgrade your App Insights resource. Using an older version of the provider, such as version 3.12, may result in the deletion of the classic component before creating the replacement workspace-based Application Insights resource. This can cause the loss of previous data and require updating the configurations in your monitored apps with new connection string and instrumentation key values.
331+
If you're using Terraform to manage your Azure resources, it's important to use the latest version of the Terraform azurerm provider before attempting to upgrade your App Insights resource. Using an older version of the provider, such as version 3.12, may result in the deletion of the classic component before creating the replacement workspace-based Application Insights resource. It can cause the loss of previous data and require updating the configurations in your monitored apps with new connection string and instrumentation key values.
335332

336333
To avoid this issue, make sure to use the latest version of the Terraform [azurerm provider](https://registry.terraform.io/providers/hashicorp/azurerm/latest), version 3.89 or higher, which performs the proper migration steps by issuing the appropriate ARM call to upgrade the App Insights classic resource to a workspace-based resource while preserving all the old data and connection string/instrumentation key values.
337334

335+
### Can I still use the old API to create Application Insights resources programmatically?
336+
Yes, calls to the old API for creating Application Insights resources continue to work as before. The old API version doesn't include a reference to the Log Analytics resource. However, when you trigger a legacy API call, it automatically creates a resource and the required association between Application Insights and Log Analytics.
337+
338+
### Should I migrate diagnostic settings on classic Application Insights before moving to a workspace-based AI?
339+
Yes, we recommend migrating diagnostic settings on classic Application Insights resources before transitioning to a workspace-based Application Insights. It ensures continuity and compatibility of your diagnostic settings.
340+
341+
### What is the migration process for Application Insights resources?
342+
The migration of Application Insights resources to the new format isn't instantaneous on the day of deprecation. Instead, it occurs over time. We'll gradually migrate all Application Insights resources, ensuring a smooth transition with minimal disruption to your services.
343+
338344
## Troubleshooting
339345

340346
This section offers troubleshooting tips for common issues.
341347

342348
### Access mode
343349

344-
**Error message:** "The selected workspace is configured with workspace-based access mode. Some APM features may be impacted. Select another workspace or allow resource-based access in the workspace settings. You can override this error by using CLI."
350+
**Error message:** "The selected workspace is configured with workspace-based access mode. Some Application Performance Monitoring (APM) features may be impacted. Select another workspace or allow resource-based access in the workspace settings. You can override this error by using CLI."
345351

346352
For your workspace-based Application Insights resource to operate properly, you need to change the access control mode of your target Log Analytics workspace to the **Resource or workspace permissions** setting. This setting is located in the Log Analytics workspace UI under **Properties** > **Access control mode**. For instructions, see the [Log Analytics configure access control mode guidance](../logs/manage-access.md#access-control-mode). If your access control mode is set to the exclusive **Require workspace permissions** setting, migration via the portal migration experience remains blocked.
347353

@@ -351,9 +357,9 @@ If you can't change the access control mode for security reasons for your curren
351357

352358
**Error message:** "Continuous Export needs to be disabled before continuing. After migration, use Diagnostic Settings for export."
353359

354-
The legacy **Continuous export** functionality isn't supported for workspace-based resources. Prior to migrating, you need to enable diagnostic settings and disable continuous export.
360+
The legacy **Continuous export** functionality isn't supported for workspace-based resources. Before migrating, you need to enable diagnostic settings and disable continuous export.
355361

356-
1. [Enable Diagnostic Settings](/previous-versions/azure/azure-monitor/app/continuous-export-diagnostic-setting) on you classic Application Insights resource.
362+
1. [Enable Diagnostic Settings](/previous-versions/azure/azure-monitor/app/continuous-export-diagnostic-setting) on your classic Application Insights resource.
357363
1. From your Application Insights resource view, under the **Configure** heading, select **Continuous export**.
358364

359365
:::image type="content" source="./media/convert-classic-resource/continuous-export.png" lightbox="./media/convert-classic-resource/continuous-export.png" alt-text="Screenshot that shows the Continuous export menu item.":::

0 commit comments

Comments
 (0)