Connect-AzAccount cmdlet

The Connect-AzAccount cmdlet connects to Azure with an authenticated account for use with cmdlets from the Az PowerShell modules.

Connect to Azure with an authenticated account for use with cmdlets from the Az PowerShell modules.

Connect-AzAccount

Use an interactive login to connect to a specific tenant and subscription

Connect-AzAccount -Tenant 'xxxx-xxxx-xxxx-xxxx' -SubscriptionId 'yyyy-yyyy-yyyy-yyyy'
Login-AzAccount and Add-AzAccount are the aliases build around the Connect-AzAccount cmdlet
PowerShell
Cmdlet

Comments

Leave a Comment

All fields are required. Your email address will not be published.