Skip to content

Commit de831d1

Browse files
authored
Remove characters after backtick
Characters after a backtick in a multiline command cause the remaining lines of the command to not be used. https://stackoverflow.com/questions/3235850/how-to-enter-a-multi-line-command
1 parent 72a4897 commit de831d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,13 @@ Select-AzSubscription -SubscriptionId $SubscriptionId
136136
137137
# 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").
138138
# 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. You can choose to provide one of the two names to specify the target OU.
139-
# 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.
139+
# You can choose to create the identity that represents the storage account as either a Service Logon Account or Computer Account (default parameter value), depends on the AD permission you have and preference.
140140
# You can run Get-Help Join-AzStorageAccountForAuth to find more details on this cmdlet.
141141
142142
Join-AzStorageAccountForAuth `
143143
-ResourceGroupName $ResourceGroupName `
144144
-Name $StorageAccountName `
145-
-DomainAccountType "<ComputerAccount|ServiceLogonAccount>" ` # Default set to "ComputerAccount" if this parameter is not provided
145+
-DomainAccountType "<ComputerAccount|ServiceLogonAccount>" `
146146
-OrganizationalUnitName "<ou-name-here>" #You can also use -OrganizationalUnitDistinguishedName "<ou-distinguishedname-here>" instead. 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.
147147
148148
#You can run the Debug-AzStorageAccountAuth cmdlet to conduct a set of basic checks on your AD configuration with the logged on AD user. This cmdlet is supported on AzFilesHybrid v0.1.2+ version. For more details on the checks performed in this cmdlet, go to Azure Files FAQ.

0 commit comments

Comments
 (0)