This credential will use the currently-logged-in user's login information via the Azure Power Shell command line tool.
This credential is not supported in browsers.
This credential will use the currently logged-in user information from the
Azure PowerShell module. To do so, it will read the user access token and
expire time with Azure PowerShell command Get-AzAccessToken -ResourceUrl {ResourceScope}
To be able to use this credential:
Install the Azure Az PowerShell module with:
Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force.
You have already logged in to Azure PowerShell using the command
Connect-AzAccount from the command line.
Authenticates with Azure Active Directory and returns an access token if successful.
If the authentication cannot be performed through PowerShell, a CredentialUnavailableError will be thrown.
This credential will use the currently-logged-in user's login information via the Azure Power Shell command line tool. This credential is not supported in browsers. This credential will use the currently logged-in user information from the Azure PowerShell module. To do so, it will read the user access token and expire time with Azure PowerShell command
Get-AzAccessToken -ResourceUrl {ResourceScope}
To be able to use this credential:
Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force
.Connect-AzAccount
from the command line.