Skip to content

Commit 36b1726

Browse files
authored
Update storage-files-identity-auth-active-directory-enable.md
1 parent cacc624 commit 36b1726

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

articles/storage/files/storage-files-identity-auth-active-directory-enable.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ You can use the following script to perform the registration and enable the feat
106106
### 1.2 Domain join your storage account
107107
Remember to replace the placeholder values with your own in the parameters below before executing it in PowerShell.
108108
> [!IMPORTANT]
109-
> We recommend you to provide an AD Organizational Unit (OU) that does NOT enforce password expiration. If you use an OU with password expiration configured, you must update the password before the maximum password age. Failing to update AD account password will result in authentication failures when accessing Azure file shares. To learn how to update the password, see [Update AD account password](#5-update-ad-account-password).
109+
> The domain join cmdlet below will create an AD account to represent the storage account (file share ) in AD. We recommend you to check if there is a default max password age set at the AD domain you plan to register the storage account (file share) to. You can run this [Get-ADDefaultDomainPasswordPolicy](https://docs.microsoft.com/powershell/module/addsadministration/get-addefaultdomainpasswordpolicy?view=win10-ps) cmdlet to get the MaxPasswordAge. If the MaxPasswordAge is configured, you must update the password of the AD account that will be created below to re before the maximum password age. Failing to update AD account password will result in authentication failures when accessing Azure file shares. To learn how to update the password, see [Update AD account password](#5-update-ad-account-password).
110110
111111

112112
```PowerShell
@@ -133,6 +133,11 @@ Join-AzStorageAccountForAuth `
133133
-Name "<storage-account-name-here>" `
134134
-DomainAccountType "ComputerAccount" `
135135
-OrganizationalUnitName "<ou-name-here>" or -OrganizationalUnitDistinguishedName "<ou-distinguishedname-here>"
136+
137+
#If you don't provide the OU name as an input parameter, the AD identity that represents the storage account will be created under the root directory.
138+
139+
#
140+
136141
```
137142

138143
The following description summarizes all actions performed when the `Join-AzStorageAccountForAuth` cmdlet gets executed. You may perform these steps manually, if you prefer not to use the command:

0 commit comments

Comments
 (0)