Az.Accounts

2.15.1

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

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

Install-PSResource -Name Az.Accounts -Version 2.15.1

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

* Upgraded the reference of Azure PowerShell Common to 1.3.90-preview.
* Upgraded Azure.Identity to 1.10.3 [#23018].
 - Renamed token cache from 'msal.cache' to 'msal.cache.cae' or 'masl.cache.nocae'.
* Enabled Continue Access Evaluation (CAE) for all Service Principals login methods.
* Supported signing in with Microsoft Account (MSA) via Web Account Manager (WAM). Enable it by 'Set-AzConfig -EnableLoginByWam True'.
* Adjusted output format to be more user-friendly for 'Get-AzContext/Tenant/Subscription' and 'Invoke-AzRestMethod'.
* Fixed the multiple 'x-ms-unique-id' values issue.

FileList

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

Version History

Version Downloads Last updated
5.3.0 19,393,911 9/2/2025
5.2.0 33,267,425 8/5/2025
5.1.1 40,904,393 7/1/2025
5.1.0 31,886,904 6/4/2025
5.0.2 1,655,437 6/3/2025
5.0.1 8,943,643 5/23/2025
5.0.0 4,406,003 5/19/2025
4.2.0 11,687,109 5/6/2025
4.1.0 27,783,780 4/1/2025
4.0.2 61,160,171 1/15/2025
4.0.1 1,729,712 1/14/2025
4.0.0 41,193,717 11/19/2024
3.0.5 12,782,316 11/11/2024
3.0.4 106,891,829 9/3/2024
3.0.3 15,048,029 8/6/2024
3.0.2 11,860,731 7/12/2024
3.0.1 2,062,280 7/9/2024
3.0.0 27,344,003 5/21/2024
2.19.0 11,825,457 4/30/2024
2.18.0-preview 21,838 4/9/2024
2.17.0 12,404,941 4/2/2024
2.16.0 11,476,093 3/5/2024
2.15.1 (current version) 10,979,468 2/6/2024
2.15.0 10,459,269 1/9/2024
2.14.0-preview 25,638 12/19/2023
2.13.2 22,743,619 11/14/2023
2.13.1 21,391,368 9/26/2023
2.13.0 6,868,289 9/5/2023
2.12.5 10,086,162 8/1/2023
2.12.4 8,319,038 7/4/2023
2.12.3 11,175,375 5/23/2023
2.12.2 8,823,884 4/25/2023
2.12.1 17,545,951 3/10/2023
2.12.0 767,123 3/9/2023
2.11.2 6,929,204 2/7/2023
2.11.1 3,925,021 1/13/2023
2.11.0 733,279 1/10/2023
2.10.4 4,767,671 12/6/2022
2.10.3 6,114,335 11/1/2022
2.10.2 3,009,275 10/12/2022
2.10.1 3,264,355 9/14/2022
2.10.0 1,018,882 9/6/2022
2.9.1 33,733,209 8/2/2022
2.9.0 3,807,716 7/5/2022
2.8.0 5,768,727 5/24/2022
2.7.6 3,400,992 4/26/2022
2.7.5 2,354,372 4/5/2022
2.7.4 3,085,434 3/10/2022
2.7.3 1,170,809 3/1/2022
2.7.2 2,555,542 2/7/2022
2.7.1 3,694,311 1/4/2022
2.7.0 2,581,202 12/7/2021
2.6.2 2,216,455 11/18/2021
2.6.1 1,734,498 11/2/2021
2.6.0 2,364,057 10/22/2021
2.5.4 1,018,837 10/12/2021
2.5.3 3,152,435 9/7/2021
2.5.2 2,505,074 8/3/2021
2.5.1 1,847,563 7/9/2021
2.5.0 225,056 7/6/2021
2.4.0 1,428,316 6/15/2021
2.3.0 1,325,468 5/25/2021
2.2.8 3,173,953 4/13/2021
2.2.7 1,257,774 3/23/2021
2.2.6 1,304,316 3/2/2021
2.2.5 1,600,346 2/9/2021
2.2.4 2,582,980 1/19/2021
2.2.3 2,166,762 12/29/2020
2.2.2 1,928,415 12/8/2020
2.2.1 2,041,616 11/18/2020
2.2.0 258,473 11/17/2020
2.1.2 1,889,972 11/2/2020
2.1.0 521,186 10/27/2020
2.0.1-preview 36,415 4/15/2020
2.0.0-preview 74,364 5/8/2019
1.9.5 1,043,681 10/13/2020
1.9.4 247,394 9/22/2020
1.9.3 2,706,327 8/25/2020
1.9.2 1,380,060 8/4/2020
1.9.1 1,040,293 7/14/2020
1.9.0 1,083,015 6/23/2020
1.8.1 1,495,607 6/2/2020
1.8.0 1,645,846 5/19/2020
1.7.5 2,659,217 4/16/2020
1.7.4 1,090,975 3/31/2020
1.7.3 1,280,484 3/10/2020
1.7.2 1,008,339 2/18/2020
1.7.1 1,094,755 2/4/2020
1.7.0 974,439 1/7/2020
1.6.7 23,057 1/7/2020
1.6.6 401,784 12/20/2019
1.6.5 164,086 12/17/2019
1.6.4 1,151,915 11/4/2019
1.6.3 381,800 10/9/2019
1.6.2 745,379 8/27/2019
1.6.1 434,545 7/30/2019
1.6.0 398,795 7/2/2019
1.5.3 169,573 6/18/2019
1.5.2 436,127 5/6/2019
1.5.1 98,351 4/23/2019
1.5.0 96,560 4/9/2019
1.4.0 158,421 3/12/2019
1.3.1 50,860 3/2/2019
1.3.0 94,167 2/12/2019
1.2.1 482,821 1/31/2019
1.2.0 28,916 1/25/2019
1.1.0 37,157 1/15/2019
1.0.0 72,819 12/18/2018
Show less