Created
May 29, 2020 17:11
-
-
Save ciphertxt/1a7257f03cb04ad71b09e2415a3150eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$tokenPoSh = ((New-Object Microsoft.Azure.Commands.ResourceManager.Common.RMProfileClient([Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureRmProfileProvider]::Instance.Profile)).AcquireAccessToken((Gaz account get-access-tokenId)).AccessToken | |
$tokenCLI = az account get-access-token --query "accessToken" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment