Skip to content

Commit c93cad6

Browse files
authored
Update the OU
1 parent 9320576 commit c93cad6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ Connect-AzAccount
117117
#Select the target subscription for the current session
118118
Select-AzSubscription -SubscriptionId "<your-subscription-id-here>"
119119
120-
# Register the target storage account with your active directory environment under the target OU (for example: "OU=ComputersOU,DC=prod,DC=corp,DC=contoso,DC=com")
120+
# Register the target storage account with your active directory environment under the target OU (for example: specify the OU with Name as "UserAccounts" or DistinguishedName as "OU=UserAccounts,DC=CONTOSO,DC=COM").
121+
# You can use to this PowerShell cmdlet: Get-ADOrganizationalUnit to find the Name and DistinguishedName of your target OU. If you are using the OU Name, specify it with -OrganizationalUnitName as shown below. If you are using the OU DistinguishedName, you can set it with -OrganizationalUnitDistinguishedName.
121122
# You can choose to create the identity that represents the storage account as either a Service Logon Account or Computer Account, depends on the AD permission you have and preference.
122123
Join-AzStorageAccountForAuth `
123124
-ResourceGroupName "<resource-group-name-here>" `

0 commit comments

Comments
 (0)