Skip to content

Commit 7183142

Browse files
committed
Changes as per PR 3240 made to azure-stack-docs repo
1 parent 32bf45d commit 7183142

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

azure-stack/hci/manage/manage-secrets-rotation.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,19 @@ Follow these steps in to change the deployment service principal:
7575
1. Locate the service principal that you used when deploying the Azure Stack HCI cluster. Create a new client secret for the service principal.
7676
1. Make a note of the `appID` for the existing service principal and the new `<client secret>`.
7777
1. Sign on to one of your Azure Stack HCI server nodes using the deployment user credentials.
78-
1. Run the following PowerShell commands:
78+
1. Sign in to Azure. Run the following PowerShell command:
79+
80+
```powershell
81+
Connect-AzAccount
82+
```
83+
84+
1. Set the subscription context. Run the following PowerShell command:
85+
86+
```powershell
87+
Set-AzContext -Subscription <Subscription ID>
88+
```
89+
90+
1. Update the service principal name. Run the following PowerShell commands:
7991
8092
```powershell
8193
cd "C:\Program Files\WindowsPowerShell\Modules\Microsoft.AS.ArcIntegration"

0 commit comments

Comments
 (0)