Skip to content

Commit 31060c5

Browse files
authored
Set AZCOPY_AUTO_LOGIN_TYPE as environment variable
1 parent 7e001ca commit 31060c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)