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

Installation Options

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

Install-Module -Name Az.Accounts

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

Install-PSResource -Name Az.Accounts

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.2.0 (current version) 4,297,584 8/5/2025
5.1.1 40,701,355 7/1/2025
5.1.0 31,868,843 6/4/2025
5.0.2 1,653,473 6/3/2025
5.0.1 8,744,296 5/23/2025
5.0.0 4,396,360 5/19/2025
4.2.0 11,622,574 5/6/2025
4.1.0 27,776,845 4/1/2025
4.0.2 61,126,068 1/15/2025
4.0.1 1,612,681 1/14/2025
4.0.0 41,184,805 11/19/2024
3.0.5 12,624,195 11/11/2024
3.0.4 106,869,995 9/3/2024
3.0.3 15,043,977 8/6/2024
3.0.2 11,833,499 7/12/2024
3.0.1 2,060,720 7/9/2024
3.0.0 27,041,295 5/21/2024
2.19.0 11,600,573 4/30/2024
2.18.0-preview 21,833 4/9/2024
2.17.0 12,401,857 4/2/2024
2.16.0 11,474,158 3/5/2024
2.15.1 10,935,288 2/6/2024
2.15.0 10,452,464 1/9/2024
2.14.0-preview 25,635 12/19/2023
2.13.2 22,676,590 11/14/2023
2.13.1 21,382,796 9/26/2023
2.13.0 6,779,873 9/5/2023
2.12.5 10,082,227 8/1/2023
2.12.4 8,318,187 7/4/2023
2.12.3 11,172,805 5/23/2023
2.12.2 8,717,699 4/25/2023
2.12.1 17,032,174 3/10/2023
2.12.0 750,733 3/9/2023
2.11.2 6,926,324 2/7/2023
2.11.1 3,922,393 1/13/2023
2.11.0 732,170 1/10/2023
2.10.4 4,762,003 12/6/2022
2.10.3 6,112,907 11/1/2022
2.10.2 3,002,497 10/12/2022
2.10.1 3,262,187 9/14/2022
2.10.0 1,018,007 9/6/2022
2.9.1 33,730,316 8/2/2022
2.9.0 3,806,929 7/5/2022
2.8.0 5,763,763 5/24/2022
2.7.6 3,398,502 4/26/2022
2.7.5 2,352,706 4/5/2022
2.7.4 3,084,515 3/10/2022
2.7.3 1,169,486 3/1/2022
2.7.2 2,554,606 2/7/2022
2.7.1 3,692,791 1/4/2022
2.7.0 2,580,197 12/7/2021
2.6.2 2,215,162 11/18/2021
2.6.1 1,731,498 11/2/2021
2.6.0 2,338,121 10/22/2021
2.5.4 1,018,216 10/12/2021
2.5.3 3,151,053 9/7/2021
2.5.2 2,504,404 8/3/2021
2.5.1 1,844,068 7/9/2021
2.5.0 224,631 7/6/2021
2.4.0 1,427,407 6/15/2021
2.3.0 1,324,930 5/25/2021
2.2.8 3,170,618 4/13/2021
2.2.7 1,256,907 3/23/2021
2.2.6 1,303,565 3/2/2021
2.2.5 1,598,323 2/9/2021
2.2.4 2,582,213 1/19/2021
2.2.3 2,158,055 12/29/2020
2.2.2 1,927,881 12/8/2020
2.2.1 2,040,447 11/18/2020
2.2.0 257,438 11/17/2020
2.1.2 1,888,753 11/2/2020
2.1.0 520,532 10/27/2020
2.0.1-preview 36,167 4/15/2020
2.0.0-preview 74,361 5/8/2019
1.9.5 1,037,330 10/13/2020
1.9.4 246,750 9/22/2020
1.9.3 2,705,485 8/25/2020
1.9.2 1,379,414 8/4/2020
1.9.1 1,039,522 7/14/2020
1.9.0 1,081,435 6/23/2020
1.8.1 1,495,120 6/2/2020
1.8.0 1,630,503 5/19/2020
1.7.5 2,658,618 4/16/2020
1.7.4 1,090,235 3/31/2020
1.7.3 1,280,062 3/10/2020
1.7.2 1,007,786 2/18/2020
1.7.1 1,093,298 2/4/2020
1.7.0 973,986 1/7/2020
1.6.7 22,639 1/7/2020
1.6.6 401,395 12/20/2019
1.6.5 162,926 12/17/2019
1.6.4 1,151,343 11/4/2019
1.6.3 381,473 10/9/2019
1.6.2 744,492 8/27/2019
1.6.1 433,914 7/30/2019
1.6.0 398,255 7/2/2019
1.5.3 169,212 6/18/2019
1.5.2 434,655 5/6/2019
1.5.1 96,866 4/23/2019
1.5.0 96,170 4/9/2019
1.4.0 157,895 3/12/2019
1.3.1 50,473 3/2/2019
1.3.0 93,873 2/12/2019
1.2.1 482,336 1/31/2019
1.2.0 28,623 1/25/2019
1.1.0 36,696 1/15/2019
1.0.0 72,327 12/18/2018
Show more