Skip to content

Commit 18baab2

Browse files
committed
Azure Monitor workspace recovery portal
1 parent 254c1c3 commit 18baab2

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

articles/azure-monitor/platform/delete-workspace.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.date: 04/30/2020
1111

1212
# Delete and recover Azure Log Analytics workspace
1313

14-
This article explains the concept of Azure Log Analytics workspace soft-delete and how to recover deleted workspace.
14+
This article explains the concept of Azure Log Analytics workspace soft-delete and how to recover deleted workspace.
1515

1616
## Considerations when deleting a workspace
1717

@@ -42,7 +42,7 @@ You can delete a workspace using [PowerShell](https://docs.microsoft.com/powersh
4242

4343
### Azure portal
4444

45-
1. To sign in, go to the [Azure portal](https://portal.azure.com).
45+
1. Sign in to the [Azure portal](https://portal.azure.com).
4646
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**.
4747
3. In the list of Log Analytics workspaces, select a workspace and then click **Delete** from the top of the middle pane.
4848
![Delete option from Workspace properties pane](media/delete-workspace/log-analytics-delete-workspace.png)
@@ -89,10 +89,26 @@ To permanently delete your workspace, use the [Workspaces - Delete REST]( https:
8989
Where 'eyJ0eXAiOiJKV1Qi…' represents the full authorization token.
9090
9191
## Recover workspace
92+
When you delete a Log Analytics workspace accidently or intentionally, the service places the workspace in a soft-delete state making it inaccessible to any operation. The name of the deleted workspace is preserved during the soft-delete period and can't be used for creating a new workspace. After the soft-delete period, the workspace is non-recoverable, it is scheduled for permanent deletion and its name it released and can be used for creating a new workspace.
9293
93-
If you have Contributor permissions to the subscription and resource group 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. Names of deleted workspaces are preserved during the soft-delete period and can't be used when attempting to create a new workspace.
94+
You can recover your workspace during the soft-delete period including its data, configuration and connected agents. You need to have Contributor permissions to the subscription and resource group where the workspace was located before the soft-delete operation. The workspace recover is performed by creating a Log Analytics workspace with the details of the deleted workspace including:
9495
95-
You can recover your workspace by creating a workspace with the details of the deleted workspace, these include *Subscription ID*, *Resource Group name*, *Workspace name* and *Region*. If your resource group was also deleted and doesn’t exist, create a resource group with the same name that was used before the delete, then create a workspace using any of these methods: [Azure portal](https://docs.microsoft.com/azure/azure-monitor/learn/quick-create-workspace), [PowerShell](https://docs.microsoft.com/powershell/module/az.operationalinsights/New-AzOperationalInsightsWorkspace) or [REST API](https://docs.microsoft.com/rest/api/loganalytics/workspaces/createorupdate).
96+
- Subscription ID
97+
- Resource Group name
98+
- Workspace name
99+
- Region
100+
101+
### Azure portal
102+
103+
1. Sign in to the [Azure portal](https://portal.azure.com).
104+
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**. You see the list of workspaces you have in the selected scope.
105+
3. Click **Recover** on the top left menu to open a page with workspaces in soft-delete state that can be recovered.
106+
107+
![Recover workspace](media/delete-workspace/recover-menu.png)
108+
109+
4. Click **Recover** to recover the workspace.
110+
111+
![Recover workspace](media/delete-workspace/recover-workspace.png)
96112
97113
### PowerShell
98114
```PowerShell
84.6 KB
Loading
54.3 KB
Loading

0 commit comments

Comments
 (0)