Skip to content

Commit bf5e7b5

Browse files
authored
Merge pull request #118754 from derdanu/patch-5
Set AZCOPY_AUTO_LOGIN_TYPE as environment variable
2 parents 95bbac4 + 31060c5 commit bf5e7b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/storage/common/storage-use-azcopy-authorize-azure-active-directory.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ If you sign in by using Azure PowerShell, then Azure PowerShell obtains an OAuth
322322
To enable AzCopy to use that token, type the following command, and then press the ENTER key.
323323

324324
```PowerShell
325-
set AZCOPY_AUTO_LOGIN_TYPE=PSCRED
325+
$Env:AZCOPY_AUTO_LOGIN_TYPE="PSCRED"
326326
```
327327

328328
For more information about how to sign in with the Azure PowerShell, see [Sign in with Azure PowerShell](/powershell/azure/authenticate-azureps).

0 commit comments

Comments
 (0)