Az.Accounts

5.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://learn.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 5.2.0

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

Install-PSResource -Name Az.Accounts -Version 5.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 Open-AzSurveyLink Get-AzConfig Update-AzConfig Clear-AzConfig Export-AzConfig Import-AzConfig

PSEditions

Core Desktop

Dependencies

This module has no dependencies.

Release Notes

* Fixed an issue where 'Clear-AzContext' does not clear the token cache when broker is enabled.
* Added new parameter '-ClaimsChallenge' to 'Connect-AzAccount' to support claims challenge authentication for MFA.
* Refined the error message when a cmdlet fails because of policy violations about Multi-Factor Authentication (MFA) to provide more actionable guidance.

FileList

  • Az.Accounts.nuspec
  • Microsoft.Azure.PowerShell.Clients.Storage.Management.dll
  • Microsoft.Azure.PowerShell.Common.Share.dll
  • Microsoft.WindowsAzure.Storage.dll
  • lib\net461\System.Diagnostics.DiagnosticSource.dll
  • lib\net47\System.Security.Cryptography.Cng.dll
  • lib\netstandard2.0\Microsoft.Identity.Client.Broker.dll
  • lib\netstandard2.0\Microsoft.IdentityModel.Abstractions.dll
  • lib\netstandard2.0\System.Buffers.dll
  • lib\netstandard2.0\System.Net.Http.WinHttpHandler.dll
  • lib\netstandard2.0\System.Security.Principal.Windows.dll
  • PostImportScripts\LoadAuthenticators.ps1
  • Accounts.format.ps1xml
  • Az.Accounts.psm1
  • Microsoft.Azure.PowerShell.AssemblyLoading.dll
  • Microsoft.Azure.PowerShell.Authenticators.dll
  • Microsoft.Azure.PowerShell.Clients.KeyVault.dll
  • Microsoft.Azure.PowerShell.Clients.Websites.dll
  • Microsoft.Azure.PowerShell.Storage.dll
  • en-US\about_az.help.txt
  • lib\net461\System.Reflection.DispatchProxy.dll
  • lib\netstandard2.0\Azure.Core.dll
  • lib\netstandard2.0\Microsoft.Identity.Client.dll
  • lib\netstandard2.0\msalruntime.dll
  • lib\netstandard2.0\System.ClientModel.dll
  • lib\netstandard2.0\System.Private.ServiceModel.dll
  • lib\netstandard2.0\System.ServiceModel.Primitives.dll
  • StartupScripts\AzError.ps1
  • Accounts.generated.format.ps1xml
  • FuzzySharp.dll
  • Microsoft.Azure.PowerShell.Authentication.Abstractions.dll
  • Microsoft.Azure.PowerShell.Clients.Aks.dll
  • Microsoft.Azure.PowerShell.Clients.Monitor.dll
  • Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll
  • Microsoft.Azure.PowerShell.Strategies.dll
  • lib\net45\Newtonsoft.Json.dll
  • lib\net461\System.Runtime.CompilerServices.Unsafe.dll
  • lib\netstandard2.0\Azure.Identity.Broker.dll
  • lib\netstandard2.0\Microsoft.Identity.Client.Extensions.Msal.dll
  • lib\netstandard2.0\msalruntime_arm64.dll
  • lib\netstandard2.0\System.Memory.Data.dll
  • lib\netstandard2.0\System.Security.AccessControl.dll
  • lib\netstandard2.0\System.Text.Json.dll
  • StartupScripts\InitializeAssemblyResolver.ps1
  • Accounts.types.ps1xml
  • Hyak.Common.dll
  • Microsoft.Azure.PowerShell.Authentication.dll
  • Microsoft.Azure.PowerShell.Clients.Authorization.dll
  • Microsoft.Azure.PowerShell.Clients.Network.dll
  • Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll-Help.xml
  • Microsoft.Rest.ClientRuntime.Azure.dll
  • lib\net46\System.Numerics.Vectors.dll
  • lib\net461\System.Security.Cryptography.ProtectedData.dll
  • lib\netstandard2.0\Azure.Identity.dll
  • lib\netstandard2.0\Microsoft.Identity.Client.NativeInterop.dll
  • lib\netstandard2.0\msalruntime_x86.dll
  • lib\netstandard2.0\System.Memory.dll
  • lib\netstandard2.0\System.Security.Permissions.dll
  • lib\netstandard2.0\System.Threading.Tasks.Extensions.dll
  • StartupScripts\InitializePSStyle.ps1
  • Microsoft.ApplicationInsights.dll
  • Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll
  • Microsoft.Azure.PowerShell.Clients.Compute.dll
  • Microsoft.Azure.PowerShell.Clients.PolicyInsights.dll
  • Microsoft.Azure.PowerShell.Common.dll
  • Microsoft.Rest.ClientRuntime.dll
  • lib\net46\System.Xml.ReaderWriter.dll
  • lib\net461\System.Text.Encodings.Web.dll
  • lib\netstandard2.0\Microsoft.Bcl.AsyncInterfaces.dll
  • Az.Accounts.psd1
  • Microsoft.Azure.Common.dll
  • Microsoft.Azure.PowerShell.AuthenticationAssemblyLoadContext.dll
  • Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll
  • Microsoft.Azure.PowerShell.Clients.ResourceManager.dll
  • .signature.p7s

Version History

Version Downloads Last updated
5.5.0 21,019,496 6/2/2026
5.4.1-preview 53,379 5/12/2026
5.4.0 35,014,876 5/5/2026
5.3.4 30,349,547 4/7/2026
5.3.3 37,559,869 3/3/2026
5.3.2 51,806,228 1/13/2026
5.3.1 53,346,206 11/18/2025
5.3.0 91,452,589 9/2/2025
5.2.0 (current version) 33,761,458 8/5/2025
5.1.1 41,080,614 7/1/2025
5.1.0 32,179,992 6/4/2025
5.0.2 1,668,682 6/3/2025
5.0.1 9,483,108 5/23/2025
5.0.0 4,489,100 5/19/2025
4.2.0 12,168,166 5/6/2025
4.1.0 27,815,239 4/1/2025
4.0.2 61,308,149 1/15/2025
4.0.1 1,812,225 1/14/2025
4.0.0 41,273,670 11/19/2024
3.0.5 13,561,030 11/11/2024
3.0.4 106,968,715 9/3/2024
3.0.3 15,077,099 8/6/2024
3.0.2 11,889,052 7/12/2024
3.0.1 2,081,083 7/9/2024
3.0.0 29,597,048 5/21/2024
2.19.0 13,147,974 4/30/2024
2.18.0-preview 21,857 4/9/2024
2.17.0 12,426,135 4/2/2024
2.16.0 11,491,376 3/5/2024
2.15.1 11,077,382 2/6/2024
2.15.0 10,501,739 1/9/2024
2.14.0-preview 25,655 12/19/2023
2.13.2 23,223,669 11/14/2023
2.13.1 21,444,431 9/26/2023
2.13.0 7,307,542 9/5/2023
2.12.5 10,112,915 8/1/2023
2.12.4 8,326,664 7/4/2023
2.12.3 11,202,507 5/23/2023
2.12.2 9,528,825 4/25/2023
2.12.1 20,837,633 3/10/2023
2.12.0 867,378 3/9/2023
2.11.2 6,957,395 2/7/2023
2.11.1 3,933,501 1/13/2023
2.11.0 740,984 1/10/2023
2.10.4 4,798,703 12/6/2022
2.10.3 6,126,204 11/1/2022
2.10.2 3,029,690 10/12/2022
2.10.1 3,276,385 9/14/2022
2.10.0 1,027,514 9/6/2022
2.9.1 33,762,926 8/2/2022
2.9.0 3,814,863 7/5/2022
2.8.0 5,883,257 5/24/2022
2.7.6 3,419,447 4/26/2022
2.7.5 2,364,891 4/5/2022
2.7.4 3,108,568 3/10/2022
2.7.3 1,175,824 3/1/2022
2.7.2 2,560,713 2/7/2022
2.7.1 3,710,145 1/4/2022
2.7.0 2,588,457 12/7/2021
2.6.2 2,221,936 11/18/2021
2.6.1 1,751,492 11/2/2021
2.6.0 2,526,004 10/22/2021
2.5.4 1,022,691 10/12/2021
2.5.3 3,156,203 9/7/2021
2.5.2 2,509,241 8/3/2021
2.5.1 1,878,711 7/9/2021
2.5.0 226,849 7/6/2021
2.4.0 1,433,319 6/15/2021
2.3.0 1,329,347 5/25/2021
2.2.8 3,204,432 4/13/2021
2.2.7 1,264,186 3/23/2021
2.2.6 1,309,960 3/2/2021
2.2.5 1,613,956 2/9/2021
2.2.4 2,589,004 1/19/2021
2.2.3 2,230,774 12/29/2020
2.2.2 1,933,501 12/8/2020
2.2.1 2,048,446 11/18/2020
2.2.0 264,869 11/17/2020
2.1.2 1,898,231 11/2/2020
2.1.0 525,571 10/27/2020
2.0.1-preview 37,083 4/15/2020
2.0.0-preview 74,382 5/8/2019
1.9.5 1,069,919 10/13/2020
1.9.4 251,878 9/22/2020
1.9.3 2,713,290 8/25/2020
1.9.2 1,383,498 8/4/2020
1.9.1 1,046,162 7/14/2020
1.9.0 1,105,353 6/23/2020
1.8.1 1,499,175 6/2/2020
1.8.0 1,752,951 5/19/2020
1.7.5 2,663,841 4/16/2020
1.7.4 1,099,453 3/31/2020
1.7.3 1,284,755 3/10/2020
1.7.2 1,012,588 2/18/2020
1.7.1 1,103,888 2/4/2020
1.7.0 977,337 1/7/2020
1.6.7 27,069 1/7/2020
1.6.6 403,336 12/20/2019
1.6.5 172,688 12/17/2019
1.6.4 1,158,248 11/4/2019
1.6.3 385,774 10/9/2019
1.6.2 754,215 8/27/2019
1.6.1 439,291 7/30/2019
1.6.0 403,433 7/2/2019
1.5.3 199,287 6/18/2019
1.5.2 444,429 5/6/2019
1.5.1 100,223 4/23/2019
1.5.0 98,126 4/9/2019
1.4.0 161,364 3/12/2019
1.3.1 52,628 3/2/2019
1.3.0 95,547 2/12/2019
1.2.1 484,777 1/31/2019
1.2.0 30,388 1/25/2019
1.1.0 39,182 1/15/2019
1.0.0 74,549 12/18/2018
Show less