Az.Accounts

Manages credentials and common configuration for all Azure modules.

Accounts

Add-AzEnvironment

Adds endpoints and metadata for an instance of Azure Resource Manager.

Clear-AzConfig

Clears the values of configs that are set by the user.

Clear-AzContext

Remove all Azure credentials, account, and subscription information.

Clear-AzDefault

Clears the defaults set by the user in the current context.

Connect-AzAccount

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

Disable-AzContextAutosave

Turn off autosaving Azure credentials. Your login information will be forgotten the next time you open a PowerShell window

Disable-AzDataCollection

Opts out of collecting data to improve the Azure PowerShell cmdlets. Data is collected by default unless you explicitly opt out.

Disable-AzureRmAlias

Disables AzureRm prefix aliases for Az modules.

Disconnect-AzAccount

Disconnects a connected Azure account and removes all credentials and contexts associated with that account.

Enable-AzContextAutosave

Azure contexts are PowerShell objects representing your active subscription to run commands against, and the authentication information needed to connect to an Azure cloud. With Azure contexts, Azure PowerShell doesn't need to reauthenticate your account each time you switch subscriptions. For more information, see Azure PowerShell context objects.

This cmdlet allows the Azure context information to be saved and automatically loaded when you start a PowerShell process. For example, when opening a new window.

Enable-AzDataCollection

Enables Azure PowerShell to collect data to improve the user experience with the Azure PowerShell cmdlets. Executing this cmdlet opts in to data collection for the current user on the current machine. Data is collected by default unless you explicitly opt out.

Enable-AzureRmAlias

Enables AzureRm prefix aliases for Az modules.

Export-AzConfig

Exports all the configs into a file so that it can be imported on another machine.

Get-AzAccessToken

Get secure raw access token. When using -ResourceUrl, please make sure the value does match current Azure environment. You may refer to the value of (Get-AzContext).Environment.

NOTE: The current default output token type is going to be changed from plain text String to SecureString for security. Please use -AsSecureString to migrate to the secure behaviour before the breaking change takes effects.

Get-AzConfig

Gets the configs of Azure PowerShell.

Get-AzContext

Gets the metadata used to authenticate Azure Resource Manager requests.

Get-AzContextAutosaveSetting

Display metadata about the context autosave feature, including whether the context is automatically saved, and where saved context and credential information can be found.

Get-AzDefault

Get the defaults set by the user in the current context.

Get-AzEnvironment

Get endpoints and metadata for an instance of Azure services. GalleryUrl will be removed from ArmMetadata and so Azure PowerShell will no longer provide for its value in PSAzureEnvironment. Currently GalleryUrl is not used in Azure PowerShell products. Please do not reply on GalleryUrl anymore.

Get-AzSubscription

Get subscriptions that the current account can access.

Get-AzTenant

Gets tenants that are authorized for the current user.

Import-AzConfig

Imports configs from a file that was previously exported by Export-AzConfig.

Import-AzContext

Loads Azure authentication information from a file.

Invoke-AzRestMethod

Construct and perform HTTP request to Azure resource management endpoint only

Open-AzSurveyLink

Open survey link in default browser.

Register-AzModule

FOR INTERNAL USE ONLY - Provide Runtime Support for AutoRest Generated cmdlets

Remove-AzContext

Remove a context from the set of available contexts

Remove-AzEnvironment

Removes endpoints and metadata for connecting to a given Azure instance.

Rename-AzContext

Rename an Azure context. By default contexts are named by user account and subscription.

Resolve-AzError

Display detailed information about PowerShell errors, with extended details for Azure PowerShell errors.

Save-AzContext

Saves the current authentication information for use in other PowerShell sessions.

Select-AzContext

Select a subscription and account to target in Azure PowerShell cmdlets

Send-Feedback

Sends feedback to the Azure PowerShell team via a set of guided prompts.

Set-AzContext

Sets the tenant, subscription, and environment for cmdlets to use in the current session.

Set-AzDefault

Sets a default in the current context

Set-AzEnvironment

Sets properties for an Azure environment.

Uninstall-AzureRm

Removes all AzureRm modules from a machine.

Update-AzConfig

Updates the configs of Azure PowerShell.