To manually migrate your existing
Application Insights, you will need to check if your current Application
Insights are classic or workspace. To verify the deployment method of
Application Insights:
Navigate to Azure Portal → Resource Group →
Application Insights → Properties. If the Application Insight is classic, the
workspace field value will appear empty, and the Migrate to
Workspace-based link will be available.
To migrate the Application Insights, search log analytics workspace on
Azure Portal and click Create to create a log analytics
workspace.
Select the subscription and resource group associated with the
current deployment. While naming the workspace, use the convention
'resource_group_name-workspaces'. The workspace can be associated with hub stack
Application Insights and/or inbound stack Application Insights. Ensure that the
region is consistent with the deployment region and click Review +
Create.
After the workspace is created successfully, it appears in the
resource group.
Click Migrate to Workspace-based link in
the Application Insights Property tab. The newly created workspace appears.
Select the workspace and click Apply.
Note:
Migration is irreversible and the resource can't be reverted to classic application
insights once migrated.