Skip to content

Commit 790902e

Browse files
Merge pull request #220011 from MicrosoftDocs/JasonWHowell-patch-2
Update troubleshoot.md
2 parents 20ca322 + 316d0f4 commit 790902e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/dedicated-hsm/troubleshoot.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,13 @@ Only when fully finished with an HSM can it be deprovisioned and then Microsoft
155155
**Step 1** Zeorize the HSM. The Azure resource for an HSM cannot be deleted unless the HSM is in a "zeroized" state. Hence, all key material must have been deleted prior to trying to delete it as a resource. The quickest way to zeroize is to get the HSM admin password wrong 3 times (note: this refers to the HSM admin and not appliance level admin). Use command ‘hsm login’ and enter wrong password three times. The Luna shell does have a hsm -factoryreset command that zeroizes the HSM but it can only be executed via console on the serial port and customers do not have access to this.
156156

157157
**Step 2** Once HSM is zeroized, you can use either of the following commands to initiate the Delete Dedicated HSM resource
158-
> **Azure CLI**: az dedicated-hsm delete --resource-group <RG name>–-name <HSM name> <br />
159-
> **Azure PowerShell**: Remove-AzDedicatedHsm -Name <HSM name> -ResourceGroupName <RG name>
158+
> **Azure CLI**: az dedicated-hsm delete --resource-group \<RG name\> –-name \<HSM name\> <br />
159+
> **Azure PowerShell**: Remove-AzDedicatedHsm -Name \<HSM name\> -ResourceGroupName \<RG name\>
160160
161161
**Step 3** Once step 2 is successful, you can delete the resource group to delete the other resources associated with the dedicated HSM by using either Azure CLI or Azure PowerShell.
162-
> **Azure CLI**: az group delete --name <RG name> <br />
163-
> **Azure PowerShell**: Remove-AzResourceGroup -Name <RG name>
162+
> **Azure CLI**: az group delete --name \<RG name\> <br />
163+
> **Azure PowerShell**: Remove-AzResourceGroup -Name \<RG name\>
164164
165165
## Next steps
166166

167-
This article has provided insight into areas across the HSM deployment lifecycle that may have issues or require troubleshooting or careful consideration. Hopefully this article helps you avoid unnecessary delays and frustration, and if you have relevant additions or changes, then raise a support request with Microsoft and let us know.
167+
This article has provided insight into areas across the HSM deployment lifecycle that may have issues or require troubleshooting or careful consideration. Hopefully this article helps you avoid unnecessary delays and frustration, and if you have relevant additions or changes, then raise a support request with Microsoft and let us know.

0 commit comments

Comments
 (0)