UseDeviceAuthentication
parameter to receive a token string on Windows PowerShell.-ServicePrincipal
argument with theConnect-AzAccount
cmdlet. You'll also need the service principal's application ID, sign-incredentials, and the tenant ID associate with the service principal. How you sign in with a serviceprincipal depends on whether it's configured for password-based or certificate-basedauthentication.applicationID
for the username and convert its secret
to plain text for the password. Download google drive app to mac.applicationId
and secret
:-ServicePrincipal
argumentand provide the service principal's Application ID as the -ApplicationId
parameter's value.-Tenant
parameter tobe specified when connecting. This parameter works with any sign-in method. When logging in, thisparameter value can either be the Azure object ID of the tenant (Tenant ID) or the fully qualifieddomain name of the tenant.-Tenant
value must be a tenant ID.-Environment
argument. Thisparameter works with any sign-in method. For example, if your account is in the China cloud:Verb-Noun
. The verbdescribes the action (examples include New
, Get
, Set
, Remove
) and the noun describes theresource type (examples include AzVM
, AzKeyVaultCertificate
, AzFirewall
,AzVirtualNetworkGateway
). Nouns in Azure PowerShell always start with the prefix Az
. For thefull list of standard verbs, seeApproved verbs for PowerShell Commands.Get
verb:Get-Command
:Resource type | Azure PowerShell module | Noun prefix |
---|---|---|
Resource group | Az.Resources | AzResourceGroup |
Virtual machines | Az.Compute | AzVM |
Storage accounts | Az.Storage | AzStorageAccount |
Key Vault | Az.KeyVault | AzKeyVault |
Web applications | Az.Websites | AzWebApp |
SQL databases | Az.Sql | AzSqlDatabase |