Az.Accounts

2.2.0

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

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.2.0

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

Install-PSResource -Name Az.Accounts -Version 2.2.0

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 Invoke-AzRestMethod Get-AzAccessToken

PSEditions

Core Desktop

Dependencies

This module has no dependencies.

Release Notes

* Fixed an issue that TenantId may be not respected if using 'Connect-AzAccount -DeviceCode'[#13477]
* Added new cmdlet 'Get-AzAccessToken'
* Fixed an issue that error happens if user profile path is inaccessible
* Fixed an issue causing Write-Object error during Connect-AzAccount [#13419]
* Added parameter 'ContainerRegistryEndpointSuffix' to: 'Add-AzEnvironment', 'Set-AzEnvironment'
* Supported interrupting login by hitting <kbd>CTRL</kbd>+<kbd>C</kbd>
* Fixed an issue causing 'Connect-AzAccount -KeyVaultAccessToken' not working [#13127]
* Fixed null reference and method case insensitive in 'Invoke-AzRestMethod'

FileList

  • Az.Accounts.nuspec
  • Accounts.format.ps1xml
  • Accounts.generated.format.ps1xml
  • Accounts.types.ps1xml
  • Az.Accounts.psd1
  • Az.Accounts.psm1
  • Hyak.Common.dll
  • Microsoft.ApplicationInsights.dll
  • Microsoft.Azure.Common.dll
  • Microsoft.Azure.PowerShell.Authentication.Abstractions.dll
  • Microsoft.Azure.PowerShell.Authentication.deps.json
  • Microsoft.Azure.PowerShell.Authentication.dll
  • Microsoft.Azure.PowerShell.Authentication.ResourceManager.deps.json
  • Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll
  • Microsoft.Azure.PowerShell.Authenticators.dll
  • Microsoft.Azure.PowerShell.Clients.Aks.dll
  • Microsoft.Azure.PowerShell.Clients.Authorization.dll
  • Microsoft.Azure.PowerShell.Clients.Compute.dll
  • Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll
  • Microsoft.Azure.PowerShell.Clients.KeyVault.dll
  • Microsoft.Azure.PowerShell.Clients.Monitor.dll
  • Microsoft.Azure.PowerShell.Clients.Network.dll
  • Microsoft.Azure.PowerShell.Clients.PolicyInsights.dll
  • Microsoft.Azure.PowerShell.Clients.ResourceManager.dll
  • Microsoft.Azure.PowerShell.Clients.Storage.Management.dll
  • Microsoft.Azure.PowerShell.Clients.Websites.dll
  • Microsoft.Azure.PowerShell.Cmdlets.Accounts.deps.json
  • Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll
  • Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll-Help.xml
  • Microsoft.Azure.PowerShell.Common.dll
  • Microsoft.Azure.PowerShell.Storage.dll
  • Microsoft.Azure.PowerShell.Strategies.dll
  • Microsoft.Rest.ClientRuntime.Azure.dll
  • Microsoft.Rest.ClientRuntime.dll
  • Microsoft.WindowsAzure.Storage.DataMovement.dll
  • Microsoft.WindowsAzure.Storage.dll
  • NetCoreAssemblies\Azure.Core.dll
  • NetCoreAssemblies\Azure.Identity.dll
  • NetCoreAssemblies\Microsoft.Bcl.AsyncInterfaces.dll
  • NetCoreAssemblies\Microsoft.Identity.Client.dll
  • NetCoreAssemblies\Microsoft.Identity.Client.Extensions.Msal.dll
  • NetCoreAssemblies\System.Numerics.Vectors.dll
  • NetCoreAssemblies\System.Runtime.CompilerServices.Unsafe.dll
  • NetCoreAssemblies\System.Text.Encodings.Web.dll
  • NetCoreAssemblies\System.Text.Json.dll
  • NetCoreAssemblies\System.Threading.Tasks.Extensions.dll
  • PostImportScripts\LoadAuthenticators.ps1
  • PreloadAssemblies\Azure.Core.dll
  • PreloadAssemblies\Azure.Identity.dll
  • PreloadAssemblies\Microsoft.Azure.PowerShell.Authenticators.dll
  • PreloadAssemblies\Microsoft.Bcl.AsyncInterfaces.dll
  • PreloadAssemblies\Microsoft.Identity.Client.dll
  • PreloadAssemblies\Microsoft.Identity.Client.Extensions.Msal.dll
  • PreloadAssemblies\Newtonsoft.Json.12.0.3.dll
  • PreloadAssemblies\Newtonsoft.Json.dll
  • PreloadAssemblies\System.Buffers.dll
  • PreloadAssemblies\System.Diagnostics.DiagnosticSource.dll
  • PreloadAssemblies\System.Memory.dll
  • PreloadAssemblies\System.Net.Http.WinHttpHandler.dll
  • PreloadAssemblies\System.Numerics.Vectors.dll
  • PreloadAssemblies\System.Private.ServiceModel.dll
  • PreloadAssemblies\System.Reflection.DispatchProxy.dll
  • PreloadAssemblies\System.Runtime.CompilerServices.Unsafe.dll
  • PreloadAssemblies\System.Security.AccessControl.dll
  • PreloadAssemblies\System.Security.Cryptography.Cng.dll
  • PreloadAssemblies\System.Security.Permissions.dll
  • PreloadAssemblies\System.Security.Principal.Windows.dll
  • PreloadAssemblies\System.ServiceModel.Primitives.dll
  • PreloadAssemblies\System.Text.Encodings.Web.dll
  • PreloadAssemblies\System.Text.Json.dll
  • PreloadAssemblies\System.Threading.Tasks.Extensions.dll
  • PreloadAssemblies\System.Xml.ReaderWriter.dll
  • StartupScripts\AzError.ps1
  • StartupScripts\InitializeAssemblyResolver.ps1

Version History

Version Downloads Last updated
5.3.3 16,164,409 3/3/2026
5.3.2 51,143,376 1/13/2026
5.3.1 53,307,009 11/18/2025
5.3.0 91,407,353 9/2/2025
5.2.0 33,631,850 8/5/2025
5.1.1 41,054,464 7/1/2025
5.1.0 32,109,765 6/4/2025
5.0.2 1,664,365 6/3/2025
5.0.1 9,188,442 5/23/2025
5.0.0 4,456,103 5/19/2025
4.2.0 12,062,101 5/6/2025
4.1.0 27,807,197 4/1/2025
4.0.2 61,274,239 1/15/2025
4.0.1 1,783,749 1/14/2025
4.0.0 41,240,963 11/19/2024
3.0.5 13,450,896 11/11/2024
3.0.4 106,942,157 9/3/2024
3.0.3 15,070,485 8/6/2024
3.0.2 11,881,060 7/12/2024
3.0.1 2,075,987 7/9/2024
3.0.0 28,731,205 5/21/2024
2.19.0 12,779,738 4/30/2024
2.18.0-preview 21,850 4/9/2024
2.17.0 12,419,889 4/2/2024
2.16.0 11,487,597 3/5/2024
2.15.1 11,040,659 2/6/2024
2.15.0 10,488,485 1/9/2024
2.14.0-preview 25,647 12/19/2023
2.13.2 23,061,309 11/14/2023
2.13.1 21,430,082 9/26/2023
2.13.0 7,194,421 9/5/2023
2.12.5 10,107,409 8/1/2023
2.12.4 8,325,128 7/4/2023
2.12.3 11,190,497 5/23/2023
2.12.2 9,322,796 4/25/2023
2.12.1 19,721,734 3/10/2023
2.12.0 843,833 3/9/2023
2.11.2 6,944,831 2/7/2023
2.11.1 3,931,314 1/13/2023
2.11.0 739,656 1/10/2023
2.10.4 4,791,030 12/6/2022
2.10.3 6,124,381 11/1/2022
2.10.2 3,022,686 10/12/2022
2.10.1 3,272,883 9/14/2022
2.10.0 1,026,054 9/6/2022
2.9.1 33,756,940 8/2/2022
2.9.0 3,813,788 7/5/2022
2.8.0 5,807,570 5/24/2022
2.7.6 3,413,669 4/26/2022
2.7.5 2,363,082 4/5/2022
2.7.4 3,107,818 3/10/2022
2.7.3 1,174,460 3/1/2022
2.7.2 2,559,815 2/7/2022
2.7.1 3,708,234 1/4/2022
2.7.0 2,587,620 12/7/2021
2.6.2 2,220,319 11/18/2021
2.6.1 1,746,641 11/2/2021
2.6.0 2,476,436 10/22/2021
2.5.4 1,021,712 10/12/2021
2.5.3 3,155,357 9/7/2021
2.5.2 2,508,151 8/3/2021
2.5.1 1,875,840 7/9/2021
2.5.0 226,658 7/6/2021
2.4.0 1,432,559 6/15/2021
2.3.0 1,329,053 5/25/2021
2.2.8 3,199,640 4/13/2021
2.2.7 1,263,033 3/23/2021
2.2.6 1,309,582 3/2/2021
2.2.5 1,610,850 2/9/2021
2.2.4 2,588,287 1/19/2021
2.2.3 2,214,463 12/29/2020
2.2.2 1,933,299 12/8/2020
2.2.1 2,046,906 11/18/2020
2.2.0 (current version) 263,710 11/17/2020
2.1.2 1,895,228 11/2/2020
2.1.0 525,373 10/27/2020
2.0.1-preview 36,783 4/15/2020
2.0.0-preview 74,371 5/8/2019
1.9.5 1,063,969 10/13/2020
1.9.4 251,528 9/22/2020
1.9.3 2,712,681 8/25/2020
1.9.2 1,383,229 8/4/2020
1.9.1 1,045,754 7/14/2020
1.9.0 1,098,721 6/23/2020
1.8.1 1,498,945 6/2/2020
1.8.0 1,714,980 5/19/2020
1.7.5 2,663,484 4/16/2020
1.7.4 1,096,634 3/31/2020
1.7.3 1,284,532 3/10/2020
1.7.2 1,012,356 2/18/2020
1.7.1 1,102,286 2/4/2020
1.7.0 976,954 1/7/2020
1.6.7 26,844 1/7/2020
1.6.6 403,115 12/20/2019
1.6.5 171,359 12/17/2019
1.6.4 1,157,714 11/4/2019
1.6.3 385,596 10/9/2019
1.6.2 753,675 8/27/2019
1.6.1 438,806 7/30/2019
1.6.0 403,194 7/2/2019
1.5.3 199,046 6/18/2019
1.5.2 443,954 5/6/2019
1.5.1 99,792 4/23/2019
1.5.0 97,899 4/9/2019
1.4.0 160,527 3/12/2019
1.3.1 52,407 3/2/2019
1.3.0 95,290 2/12/2019
1.2.1 484,434 1/31/2019
1.2.0 30,165 1/25/2019
1.1.0 38,766 1/15/2019
1.0.0 74,263 12/18/2018
Show less