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

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Az.Accounts -Version 2.0.0-preview -Prerelease

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

Owners

Copyright

Microsoft Corporation. All rights reserved.

Package Details

Author(s)

  • Microsoft Corporation

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
5.5.5 18,703,190 11/15/2026
5.5.4 13,941,347 11/3/2026
5.5.3 62,519,583 8/31/2026
5.5.2 30,610,638 8/4/2026
5.5.1 31,834,619 7/7/2026
5.5.0 50,430,578 6/2/2026
5.4.1-preview 53,427 5/12/2026
5.4.0 35,086,183 5/5/2026
5.3.4 30,403,495 4/7/2026
5.3.3 37,616,457 3/3/2026
5.3.2 52,817,153 1/13/2026
5.3.1 53,397,145 11/18/2025
5.3.0 91,527,183 9/2/2025
5.2.0 33,877,494 8/5/2025
5.1.1 41,136,413 7/1/2025
5.1.0 32,258,023 6/4/2025
5.0.2 1,677,389 6/3/2025
5.0.1 10,132,568 5/23/2025
5.0.0 4,591,030 5/19/2025
4.2.0 12,339,390 5/6/2025
4.1.0 27,829,065 4/1/2025
4.0.2 61,362,511 1/15/2025
4.0.1 1,853,475 1/14/2025
4.0.0 41,335,187 11/19/2024
3.0.5 13,762,658 11/11/2024
3.0.4 107,007,617 9/3/2024
3.0.3 15,087,330 8/6/2024
3.0.2 11,901,009 7/12/2024
3.0.1 2,090,577 7/9/2024
3.0.0 31,269,853 5/21/2024
2.19.0 13,588,116 4/30/2024
2.18.0-preview 21,869 4/9/2024
2.17.0 12,435,855 4/2/2024
2.16.0 11,497,567 3/5/2024
2.15.1 11,152,893 2/6/2024
2.15.0 10,542,522 1/9/2024
2.14.0-preview 25,664 12/19/2023
2.13.2 23,385,215 11/14/2023
2.13.1 21,470,253 9/26/2023
2.13.0 7,356,929 9/5/2023
2.12.5 10,116,555 8/1/2023
2.12.4 8,328,425 7/4/2023
2.12.3 11,225,535 5/23/2023
2.12.2 9,931,543 4/25/2023
2.12.1 23,034,627 3/10/2023
2.12.0 935,706 3/9/2023
2.11.2 6,995,961 2/7/2023
2.11.1 3,936,884 1/13/2023
2.11.0 742,650 1/10/2023
2.10.4 4,813,320 12/6/2022
2.10.3 6,129,328 11/1/2022
2.10.2 3,074,221 10/12/2022
2.10.1 3,281,845 9/14/2022
2.10.0 1,029,422 9/6/2022
2.9.1 33,771,375 8/2/2022
2.9.0 3,816,325 7/5/2022
2.8.0 5,926,206 5/24/2022
2.7.6 3,429,396 4/26/2022
2.7.5 2,367,425 4/5/2022
2.7.4 3,109,861 3/10/2022
2.7.3 1,178,723 3/1/2022
2.7.2 2,562,335 2/7/2022
2.7.1 3,712,900 1/4/2022
2.7.0 2,589,783 12/7/2021
2.6.2 2,223,737 11/18/2021
2.6.1 1,760,629 11/2/2021
2.6.0 2,618,913 10/22/2021
2.5.4 1,023,874 10/12/2021
2.5.3 3,157,915 9/7/2021
2.5.2 2,513,434 8/3/2021
2.5.1 1,882,599 7/9/2021
2.5.0 227,089 7/6/2021
2.4.0 1,434,340 6/15/2021
2.3.0 1,329,722 5/25/2021
2.2.8 3,213,869 4/13/2021
2.2.7 1,265,721 3/23/2021
2.2.6 1,310,949 3/2/2021
2.2.5 1,617,200 2/9/2021
2.2.4 2,590,253 1/19/2021
2.2.3 2,250,938 12/29/2020
2.2.2 1,933,683 12/8/2020
2.2.1 2,049,949 11/18/2020
2.2.0 266,137 11/17/2020
2.1.2 1,901,194 11/2/2020
2.1.0 525,787 10/27/2020
2.0.1-preview 37,365 4/15/2020
2.0.0-preview (current version) 74,402 5/8/2019
1.9.5 1,081,801 10/13/2020
1.9.4 252,119 9/22/2020
1.9.3 2,714,113 8/25/2020
1.9.2 1,383,570 8/4/2020
1.9.1 1,046,430 7/14/2020
1.9.0 1,113,864 6/23/2020
1.8.1 1,499,228 6/2/2020
1.8.0 1,824,619 5/19/2020
1.7.5 2,664,185 4/16/2020
1.7.4 1,104,231 3/31/2020
1.7.3 1,285,246 3/10/2020
1.7.2 1,012,676 2/18/2020
1.7.1 1,107,029 2/4/2020
1.7.0 978,463 1/7/2020
1.6.7 27,610 1/7/2020
1.6.6 403,705 12/20/2019
1.6.5 173,348 12/17/2019
1.6.4 1,158,352 11/4/2019
1.6.3 385,821 10/9/2019
1.6.2 754,368 8/27/2019
1.6.1 439,321 7/30/2019
1.6.0 403,515 7/2/2019
1.5.3 199,335 6/18/2019
1.5.2 444,925 5/6/2019
1.5.1 100,659 4/23/2019
1.5.0 98,165 4/9/2019
1.4.0 164,258 3/12/2019
1.3.1 52,655 3/2/2019
1.3.0 95,622 2/12/2019
1.2.1 491,386 1/31/2019
1.2.0 30,427 1/25/2019
1.1.0 39,512 1/15/2019
1.0.0 74,637 12/18/2018
Show less