Az.Accounts

2.12.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 2.12.0

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

Install-PSResource -Name Az.Accounts -Version 2.12.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 the issue that errors related to WAM are thrown when it is not enabled. [#20871] [#20824]
* Updated Azure.Core library to 1.28.0.
* Fixed an issue that the helper message about missing modules shows up at the wrong time. [#19228]
* Added a hint message for some resource creation cmdlets when there is another region which may reduce the costs.
* Supported environment initialization and auto-discovery with ArmMetadata of API version 2022-09-01.

FileList

  • Az.Accounts.nuspec
  • Accounts.format.ps1xml
  • Accounts.generated.format.ps1xml
  • Accounts.types.ps1xml
  • Az.Accounts.psd1
  • Az.Accounts.psm1
  • FuzzySharp.dll
  • Hyak.Common.dll
  • Microsoft.ApplicationInsights.dll
  • Microsoft.Azure.Common.dll
  • Microsoft.Azure.PowerShell.AssemblyLoading.deps.json
  • Microsoft.Azure.PowerShell.AssemblyLoading.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.AuthenticationAssemblyLoadContext.deps.json
  • Microsoft.Azure.PowerShell.AuthenticationAssemblyLoadContext.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.Common.Share.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
  • en-US\about_az.help.txt
  • lib\netcoreapp2.1\Azure.Core.dll
  • lib\netcoreapp2.1\Microsoft.Identity.Client.dll
  • lib\netcoreapp3.1\Microsoft.Identity.Client.Extensions.Msal.dll
  • lib\netfx\Azure.Core.dll
  • lib\netfx\Microsoft.Identity.Client.dll
  • lib\netfx\Microsoft.Identity.Client.Extensions.Msal.dll
  • lib\netfx\Newtonsoft.Json.dll
  • lib\netfx\System.Diagnostics.DiagnosticSource.dll
  • lib\netfx\System.Numerics.Vectors.dll
  • lib\netfx\System.Reflection.DispatchProxy.dll
  • lib\netfx\System.Runtime.CompilerServices.Unsafe.dll
  • lib\netfx\System.Security.Cryptography.Cng.dll
  • lib\netfx\System.Text.Encodings.Web.dll
  • lib\netfx\System.Xml.ReaderWriter.dll
  • lib\netstandard2.0\Azure.Identity.BrokeredAuthentication.dll
  • lib\netstandard2.0\Azure.Identity.dll
  • lib\netstandard2.0\Microsoft.Bcl.AsyncInterfaces.dll
  • lib\netstandard2.0\Microsoft.Identity.Client.Broker.dll
  • lib\netstandard2.0\Microsoft.Identity.Client.NativeInterop.dll
  • lib\netstandard2.0\Microsoft.IdentityModel.Abstractions.dll
  • lib\netstandard2.0\msalruntime.dll
  • lib\netstandard2.0\msalruntime_arm64.dll
  • lib\netstandard2.0\msalruntime_x86.dll
  • lib\netstandard2.0\System.Buffers.dll
  • lib\netstandard2.0\System.Memory.Data.dll
  • lib\netstandard2.0\System.Memory.dll
  • lib\netstandard2.0\System.Net.Http.WinHttpHandler.dll
  • lib\netstandard2.0\System.Private.ServiceModel.dll
  • lib\netstandard2.0\System.Security.AccessControl.dll
  • lib\netstandard2.0\System.Security.Permissions.dll
  • lib\netstandard2.0\System.Security.Principal.Windows.dll
  • lib\netstandard2.0\System.ServiceModel.Primitives.dll
  • lib\netstandard2.0\System.Text.Json.dll
  • lib\netstandard2.0\System.Threading.Tasks.Extensions.dll
  • PostImportScripts\LoadAuthenticators.ps1
  • StartupScripts\AzError.ps1
  • StartupScripts\InitializeAssemblyResolver.ps1

Version History

Version Downloads Last updated
5.3.0 16,782,544 9/2/2025
5.2.0 33,255,135 8/5/2025
5.1.1 40,894,480 7/1/2025
5.1.0 31,886,445 6/4/2025
5.0.2 1,655,340 6/3/2025
5.0.1 8,941,674 5/23/2025
5.0.0 4,405,392 5/19/2025
4.2.0 11,683,473 5/6/2025
4.1.0 27,783,286 4/1/2025
4.0.2 61,158,220 1/15/2025
4.0.1 1,729,150 1/14/2025
4.0.0 41,193,317 11/19/2024
3.0.5 12,774,789 11/11/2024
3.0.4 106,891,337 9/3/2024
3.0.3 15,047,796 8/6/2024
3.0.2 11,860,468 7/12/2024
3.0.1 2,062,190 7/9/2024
3.0.0 27,329,408 5/21/2024
2.19.0 11,814,826 4/30/2024
2.18.0-preview 21,838 4/9/2024
2.17.0 12,404,649 4/2/2024
2.16.0 11,476,004 3/5/2024
2.15.1 10,978,037 2/6/2024
2.15.0 10,458,935 1/9/2024
2.14.0-preview 25,638 12/19/2023
2.13.2 22,740,216 11/14/2023
2.13.1 21,390,828 9/26/2023
2.13.0 6,863,698 9/5/2023
2.12.5 10,085,887 8/1/2023
2.12.4 8,318,991 7/4/2023
2.12.3 11,175,274 5/23/2023
2.12.2 8,818,482 4/25/2023
2.12.1 17,521,751 3/10/2023
2.12.0 (current version) 765,991 3/9/2023
2.11.2 6,929,055 2/7/2023
2.11.1 3,924,632 1/13/2023
2.11.0 733,242 1/10/2023
2.10.4 4,767,400 12/6/2022
2.10.3 6,114,282 11/1/2022
2.10.2 3,008,710 10/12/2022
2.10.1 3,264,257 9/14/2022
2.10.0 1,018,841 9/6/2022
2.9.1 33,732,732 8/2/2022
2.9.0 3,807,692 7/5/2022
2.8.0 5,768,447 5/24/2022
2.7.6 3,400,846 4/26/2022
2.7.5 2,354,322 4/5/2022
2.7.4 3,085,410 3/10/2022
2.7.3 1,170,739 3/1/2022
2.7.2 2,555,510 2/7/2022
2.7.1 3,694,227 1/4/2022
2.7.0 2,581,175 12/7/2021
2.6.2 2,216,393 11/18/2021
2.6.1 1,734,360 11/2/2021
2.6.0 2,362,367 10/22/2021
2.5.4 1,018,816 10/12/2021
2.5.3 3,152,396 9/7/2021
2.5.2 2,505,055 8/3/2021
2.5.1 1,847,423 7/9/2021
2.5.0 225,054 7/6/2021
2.4.0 1,428,295 6/15/2021
2.3.0 1,325,461 5/25/2021
2.2.8 3,173,808 4/13/2021
2.2.7 1,257,747 3/23/2021
2.2.6 1,304,288 3/2/2021
2.2.5 1,600,264 2/9/2021
2.2.4 2,582,959 1/19/2021
2.2.3 2,166,321 12/29/2020
2.2.2 1,928,402 12/8/2020
2.2.1 2,041,554 11/18/2020
2.2.0 258,414 11/17/2020
2.1.2 1,889,903 11/2/2020
2.1.0 521,177 10/27/2020
2.0.1-preview 36,409 4/15/2020
2.0.0-preview 74,364 5/8/2019
1.9.5 1,043,383 10/13/2020
1.9.4 247,381 9/22/2020
1.9.3 2,706,298 8/25/2020
1.9.2 1,380,050 8/4/2020
1.9.1 1,040,279 7/14/2020
1.9.0 1,082,942 6/23/2020
1.8.1 1,495,601 6/2/2020
1.8.0 1,645,162 5/19/2020
1.7.5 2,659,205 4/16/2020
1.7.4 1,090,954 3/31/2020
1.7.3 1,280,476 3/10/2020
1.7.2 1,008,331 2/18/2020
1.7.1 1,094,670 2/4/2020
1.7.0 974,429 1/7/2020
1.6.7 23,049 1/7/2020
1.6.6 401,782 12/20/2019
1.6.5 164,030 12/17/2019
1.6.4 1,151,899 11/4/2019
1.6.3 381,792 10/9/2019
1.6.2 745,361 8/27/2019
1.6.1 434,537 7/30/2019
1.6.0 398,787 7/2/2019
1.5.3 169,559 6/18/2019
1.5.2 436,011 5/6/2019
1.5.1 98,349 4/23/2019
1.5.0 96,558 4/9/2019
1.4.0 158,417 3/12/2019
1.3.1 50,858 3/2/2019
1.3.0 94,165 2/12/2019
1.2.1 482,819 1/31/2019
1.2.0 28,914 1/25/2019
1.1.0 37,149 1/15/2019
1.0.0 72,817 12/18/2018
Show less