A reference to a token cache, a stored authentication token for accessing an Azure cloud.Tenants are often referred to as organizations inĭocumentation or when working with Active Directory. The active subscription, a service agreement with Microsoft to create and run Azure resources,.Azure contexts treat users,Īpplication IDs, and service principals the same from an account perspective. The account that was used to sign in to Azure withĬonnect-AzAccount.PowerShell doesn't need to reauthenticate your account each time you switch subscriptions. Overview of Azure context objectsĪzure contexts are PowerShell objects representing your active subscription to run commands against,Īnd the authentication information needed to connect to an Azure cloud. Run Azure PowerShell cmdlets in PowerShell Jobs after becoming familiar withĪzure contexts. Running background or parallel tasks, see You're looking to manage users, subscriptions, tenants, or other account information, see theĪzure Active Directory documentation. This article covers managing Azure contexts, not the management of subscriptions or accounts. Information across multiple PowerShell sessions and run background tasks. Azure contexts are also used to store sign-in The subscription to run Azure PowerShell cmdlets on. If you have more than one subscription, Azure contexts let you select Azure PowerShell uses Azure PowerShell context objects (Azure contexts) to hold subscription andĪuthentication information.
0 Comments
Leave a Reply. |