Skip to content

Commit bbcad5a

Browse files
Merge pull request #301896 from khdownie/patch-5
Update storage-files-identity-ad-ds-update-password.md
2 parents 5b26f2f + 930f690 commit bbcad5a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/storage/files/storage-files-identity-ad-ds-update-password.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
title: Update password for an AD DS storage account identity
2+
title: Update Password for an AD DS Storage Account Identity
33
description: Learn how to update the password of the Active Directory Domain Services (AD DS) identity that represents your storage account.
44
author: khdownie
55
ms.service: azure-file-storage
66
ms.topic: how-to
77
ms.date: 11/08/2024
88
ms.author: kendownie
9-
recommendations: false
10-
# Customer intent: As a storage account administrator, I want to update the Active Directory Domain Services identity password for my storage account, so that I can maintain Kerberos authentication and ensure uninterrupted access to Azure file shares.
9+
# Customer intent: As a storage administrator, I want to update the password of the Active Directory Domain Services identity that represents my storage account, so that I can maintain Kerberos authentication and ensure uninterrupted access to Azure file shares.
1110
---
1211

1312
# Update the password of your storage account identity in AD DS
13+
1414
When you domain join your storage account in your Active Directory Domain Services (AD DS), you create an AD principal, either a computer account or service account, with a password. The password of the AD principal is one of the Kerberos keys of the storage account. Depending on the password policy of the organization unit of the AD principal, you must periodically rotate the password of the AD principal to avoid authentication issues. Failing to change the password before it expires could result in losing Kerberos authentication to your Azure file shares. Some AD environments may also delete AD principals with expired passwords using an automated cleanup script.
1515

1616
Instead of periodically rotating the password, you can also place the AD principal that represents the storage account into an organizational unit that doesn't require password rotation.
@@ -34,7 +34,7 @@ There are two options for triggering password rotation. You can use the `AzFiles
3434
## Option 1: Use AzFilesHybrid module
3535
To regenerate and rotate the password of the AD principal that represents the storage account, use the `Update-AzStorageAccountADObjectPassword` cmdlet from the [AzFilesHybrid module](https://github.com/Azure-Samples/azure-files-samples/releases). To execute `Update-AzStorageAccountADObjectPassword`, you must:
3636

37-
- Run the cmdlet from a domain joined client.
37+
- Run the cmdlet from a domain-joined client.
3838
- Have the owner permission on the storage account.
3939
- Have AD DS permissions to change the password of the AD principal that represents the storage account.
4040

@@ -59,7 +59,7 @@ If you don't want to download the `AzFilesHybrid` module, you can use [Active Di
5959
Replace `<domain-object-identity>` in the following script with the appropriate value for your environment:
6060

6161
```powershell
62-
$KeyName = "kerb1" # Could be either the first or second kerberos key, this script assumes we're refreshing the first
62+
$KeyName = "kerb1" # Could be either the first or second Kerberos key, this script assumes we're refreshing the first
6363
$KerbKeys = New-AzStorageAccountKey -ResourceGroupName $ResourceGroupName -Name $StorageAccountName -KeyName $KeyName
6464
$KerbKey = $KerbKeys.keys | Where-Object {$_.KeyName -eq $KeyName} | Select-Object -ExpandProperty Value
6565
$NewPassword = ConvertTo-SecureString -String $KerbKey -AsPlainText -Force

0 commit comments

Comments
 (0)