You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/platform/delete-workspace.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,23 +31,29 @@ You want to exercise caution when you delete a workspace because there might be
31
31
The soft-delete operation deletes the workspace resource and any associated users’ permission is broken. If users are associated with other workspaces, then they can continue using Log Analytics with those other workspaces.
32
32
33
33
## Soft-delete behavior
34
-
The workspace delete operation removes the workspace ARM resource, but its configuration and data are kept for 14 days, while giving the appearance that the workspace is deleted. Any agents and System Center Operations Manager management groups configured to report to the workspace remain in an orphaned state during the soft-delete period. The service further provides a mechanism for recovering the deleted workspace including its data and connected resources, essentially undoing the deletion.
35
-
Note: Installed solutions and linked services like Automation account are permanently removed from the workspace at deletion time and can’t be recovered. These should be reconfigured after the recovery operation to bring the workspace to its previous functionality.
36
-
You can delete a workspace using [PowerShell](https://docs.microsoft.com/powershell/module/azurerm.operationalinsights/remove-azurermoperationalinsightsworkspace?view=azurermps-6.13.0), [API](https://docs.microsoft.com/en-us/rest/api/loganalytics/workspaces/delete), or in [Azure portal](https://portal.azure.com).
34
+
The workspace delete operation removes the workspace Resource Manager resource, but its configuration and data are kept for 14 days, while giving the appearance that the workspace is deleted. Any agents and System Center Operations Manager management groups configured to report to the workspace remain in an orphaned state during the soft-delete period. The service further provides a mechanism for recovering the deleted workspace including its data and connected resources, essentially undoing the deletion.
35
+
36
+
> [!NOTE]
37
+
> Installed solutions and linked services like Automation account are permanently removed from the workspace at deletion time and can’t be recovered. These should be reconfigured after the recovery operation to bring the workspace to its previous functionality.
38
+
39
+
You can delete a workspace using [PowerShell](https://docs.microsoft.com/powershell/module/azurerm.operationalinsights/remove-azurermoperationalinsightsworkspace?view=azurermps-6.13.0), [API](https://docs.microsoft.com/rest/api/loganalytics/workspaces/delete), or in [Azure portal](https://portal.azure.com).
37
40
38
41
### Delete workspace in Azure portal
39
42
1. To sign in, go to the [Azure portal](https://portal.azure.com).
40
43
2. In the Azure portal, select **All services**. In the list of resources, type **Log Analytics**. As you begin typing, the list filters based on your input. Select **Log Analytics workspaces**.
41
-
3. In the list of Log Analytics workspaces, select a workspace and then click **Delete** from the top of the middle pane.<br><br> <br>
42
-
4. When the confirmation message window appears asking you to confirm deletion of the workspace, click **Yes**.<br><br> 
44
+
3. In the list of Log Analytics workspaces, select a workspace and then click **Delete** from the top of the middle pane.
45
+

46
+
4. When the confirmation message window appears asking you to confirm deletion of the workspace, click **Yes**.
47
+

43
48
44
49
## Recover workspace
45
50
If you have Contributor permissions to the subscription and resource group to where the workspace was associated before the soft-delete operation, you can recover it during its soft-delete period including its data, configuration and connected agents. After the soft-delete period, the workspace is non-recoverable and assigned for permanent deletion.
51
+
46
52
You can recover a workspace by re-creating the workspace using any of the supported create methods: PowerShell, Azure CLI, or from the Azure portal as long as these properties are populated with the deleted workspace’s details including:
47
-
1. Subscription Id
53
+
1. Subscription ID
48
54
2. Resource Group name
49
55
3. Workspace name
50
56
4. Region
51
57
52
58
> [!NOTE]
53
-
> Names of deleted workspaces are kept preserved for the soft-delete period and they can't be used when creating a new workspace. The workspace names are *released* and available for use for new workspace creation after the soft-delete period has expired..
59
+
> Names of deleted workspaces are kept preserved for the soft-delete period and they can't be used when creating a new workspace. The workspace names are *released* and available for use for new workspace creation after the soft-delete period has expired.
0 commit comments