Skip to content

Commit f0e76e1

Browse files
authored
Merge pull request #109485 from yossi-y/patch-63
Added troubleshooting
2 parents 2d47326 + 5cf1bf3 commit f0e76e1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,17 @@ You can delete a workspace using [PowerShell](https://docs.microsoft.com/powersh
5454
PS C:\>Remove-AzOperationalInsightsWorkspace -ResourceGroupName "resource-group-name" -Name "workspace-name"
5555
```
5656

57+
### Troubleshooting
58+
59+
You must have 'Log Analytics Contributor' permissions to delete Log Analytics workspace.<br>
60+
If you get an error message '*This workspace name is already in use*' when creating a workspace, it could be since:
61+
* The workspace name isn't available and being used by someone in your organization, or by other customer.
62+
* The workspace was deleted in the last 14 days and its name kept reserved for the soft-delete period. To override the soft-delete and immediately delete your workspace and create a new workspace with the same name, follow these steps to recover the workspace first and perform permanent delete:<br>
63+
1. [Recover](https://docs.microsoft.com/azure/azure-monitor/platform/delete-workspace#recover-workspace) your workspace.
64+
2. [Permanently delete](https://docs.microsoft.com/azure/azure-monitor/platform/delete-workspace#permanent-workspace-delete) your workspace.
65+
3. Create a new workspace using the same workspace name.
66+
67+
5768
## Permanent workspace delete
5869
The soft-delete method may not fit in some scenarios such as development and testing, where you need to repeat a deployment with the same settings and workspace name. In such cases you can permanently delete your workspace and "override" the soft-delete period. The permanent workspace delete operation releases the workspace name and you can create a new workspace using the same name.
5970

0 commit comments

Comments
 (0)