Az.Accounts

2.0.0-preview

Microsoft Azure PowerShell - Accounts credential management cmdlets for Azure Resource Manager in Windows PowerShell and PowerShell Core.

For more information on account credential management, please visit the following: https://docs.microsoft.com/powershell/azure/authenticate-azureps

Minimum PowerShell version

5.1

This is a prerelease version of Az.Accounts.
There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Az.Accounts -RequiredVersion 2.0.0-preview -AllowPrerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Microsoft Corporation

Copyright

Microsoft Corporation. All rights reserved.

Package Details

Owners

Tags

Azure ResourceManager ARM Accounts Authentication Environment Subscription

Cmdlets

Disable-AzDataCollection Disable-AzContextAutosave Enable-AzDataCollection Enable-AzContextAutosave Remove-AzEnvironment Get-AzEnvironment Set-AzEnvironment Add-AzEnvironment Get-AzSubscription Connect-AzAccount Get-AzContext Set-AzContext Import-AzContext Save-AzContext Get-AzTenant Send-Feedback Resolve-AzError Select-AzContext Rename-AzContext Remove-AzContext Clear-AzContext Disconnect-AzAccount Get-AzContextAutosaveSetting Set-AzDefault Get-AzDefault Clear-AzDefault Register-AzModule Enable-AzureRmAlias Disable-AzureRmAlias Uninstall-AzureRm

PSEditions

Core Desktop

Dependencies

This module has no dependencies.

Release Notes

* Update to using Microsoft Authentication Library (MSAL)
   - Enable interactive login support for cross-platform by default
   - Device code flow login is now the backup option of interactive login fails, or the user provides the '-UseDeviceAuthentication' switch parameter
   - Enable username/password support for CSP accounts for cross-platform
* Support single-sign on scenario using shared token cache
   - Token cache is now shared with other products, such as Visual Studio 2019 and Azure CLI
   - Allows users to add/remove accounts in one product and have the changes reflected in another product
   - 'Connect-AzAccount' adds an account to the token cache if not already there
   - 'Remove-AzAccount' removes the account from the token cache and deletes all contexts containing the account
   - 'Clear-AzContext' removes all accounts from the token cache and deletes all contexts

FileList

Version History

Version Downloads Last updated
2.12.3 4,416,672 5/23/2023
2.12.2 7,148,572 4/25/2023
2.12.1 9,146,643 3/10/2023
2.12.0 589,975 3/9/2023
2.11.2 6,619,623 2/7/2023
2.11.1 3,841,701 1/13/2023
2.11.0 706,766 1/10/2023
2.10.4 4,614,042 12/6/2022
2.10.3 5,174,375 11/1/2022
2.10.2 2,938,889 10/12/2022
2.10.1 3,220,443 9/14/2022
2.10.0 988,014 9/6/2022
2.9.1 18,238,689 8/2/2022
2.9.0 3,771,150 7/5/2022
2.8.0 5,562,713 5/24/2022
2.7.6 3,332,531 4/26/2022
2.7.5 2,311,419 4/5/2022
2.7.4 2,910,558 3/10/2022
2.7.3 1,152,249 3/1/2022
2.7.2 2,477,078 2/7/2022
2.7.1 3,655,750 1/4/2022
2.7.0 2,545,251 12/7/2021
2.6.2 2,108,570 11/18/2021
2.6.1 1,662,929 11/2/2021
2.6.0 1,338,974 10/22/2021
2.5.4 980,900 10/12/2021
2.5.3 3,114,691 9/7/2021
2.5.2 2,485,973 8/3/2021
2.5.1 1,606,840 7/9/2021
2.5.0 215,186 7/6/2021
2.4.0 1,410,350 6/15/2021
2.3.0 1,308,030 5/25/2021
2.2.8 2,983,857 4/13/2021
2.2.7 1,208,848 3/23/2021
2.2.6 1,284,861 3/2/2021
2.2.5 1,568,159 2/9/2021
2.2.4 2,534,421 1/19/2021
2.2.3 2,071,003 12/29/2020
2.2.2 1,911,205 12/8/2020
2.2.1 1,977,902 11/18/2020
2.2.0 226,270 11/17/2020
2.1.2 1,840,161 11/2/2020
2.1.0 503,928 10/27/2020
2.0.1-preview 31,179 4/15/2020
2.0.0-preview (current version) 74,340 5/8/2019
1.9.5 944,911 10/13/2020
1.9.4 228,763 9/22/2020
1.9.3 2,667,900 8/25/2020
1.9.2 1,365,216 8/4/2020
1.9.1 1,022,579 7/14/2020
1.9.0 1,049,077 6/23/2020
1.8.1 1,482,858 6/2/2020
1.8.0 1,253,093 5/19/2020
1.7.5 2,636,863 4/16/2020
1.7.4 1,065,281 3/31/2020
1.7.3 1,266,106 3/10/2020
1.7.2 993,481 2/18/2020
1.7.1 1,019,426 2/4/2020
1.7.0 958,032 1/7/2020
1.6.7 8,987 1/7/2020
1.6.6 392,419 12/20/2019
1.6.5 143,936 12/17/2019
1.6.4 1,130,777 11/4/2019
1.6.3 368,047 10/9/2019
1.6.2 722,738 8/27/2019
1.6.1 420,286 7/30/2019
1.6.0 384,580 7/2/2019
1.5.3 155,610 6/18/2019
1.5.2 415,064 5/6/2019
1.5.1 83,064 4/23/2019
1.5.0 80,993 4/9/2019
1.4.0 136,576 3/12/2019
1.3.1 41,335 3/2/2019
1.3.0 78,149 2/12/2019
1.2.1 472,568 1/31/2019
1.2.0 15,678 1/25/2019
1.1.0 21,589 1/15/2019
1.0.0 55,664 12/18/2018
Show less