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.4.1-preview 9,767 5/12/2026
5.4.0 11,696,449 5/5/2026
5.3.4 30,334,634 4/7/2026
5.3.3 37,425,596 3/3/2026
5.3.2 51,624,685 1/13/2026
5.3.1 53,333,379 11/18/2025
5.3.0 91,434,825 9/2/2025
5.2.0 33,712,266 8/5/2025
5.1.1 41,069,067 7/1/2025
5.1.0 32,162,019 6/4/2025
5.0.2 1,667,133 6/3/2025
5.0.1 9,303,259 5/23/2025
5.0.0 4,476,274 5/19/2025
4.2.0 12,130,479 5/6/2025
4.1.0 27,812,166 4/1/2025
4.0.2 61,297,566 1/15/2025
4.0.1 1,802,731 1/14/2025
4.0.0 41,257,935 11/19/2024
3.0.5 13,519,880 11/11/2024
3.0.4 106,959,053 9/3/2024
3.0.3 15,074,490 8/6/2024
3.0.2 11,886,175 7/12/2024
3.0.1 2,079,225 7/9/2024
3.0.0 29,265,969 5/21/2024
2.19.0 13,041,967 4/30/2024
2.18.0-preview 21,854 4/9/2024
2.17.0 12,423,855 4/2/2024
2.16.0 11,490,017 3/5/2024
2.15.1 (current version) 11,061,725 2/6/2024
2.15.0 10,496,493 1/9/2024
2.14.0-preview 25,652 12/19/2023
2.13.2 23,161,412 11/14/2023
2.13.1 21,439,817 9/26/2023
2.13.0 7,291,976 9/5/2023
2.12.5 10,111,354 8/1/2023
2.12.4 8,326,120 7/4/2023
2.12.3 11,197,313 5/23/2023
2.12.2 9,448,163 4/25/2023
2.12.1 20,410,394 3/10/2023
2.12.0 858,115 3/9/2023
2.11.2 6,949,220 2/7/2023
2.11.1 3,932,769 1/13/2023
2.11.0 740,469 1/10/2023
2.10.4 4,795,880 12/6/2022
2.10.3 6,125,626 11/1/2022
2.10.2 3,025,298 10/12/2022
2.10.1 3,275,252 9/14/2022
2.10.0 1,027,024 9/6/2022
2.9.1 33,760,997 8/2/2022
2.9.0 3,814,514 7/5/2022
2.8.0 5,820,757 5/24/2022
2.7.6 3,417,305 4/26/2022
2.7.5 2,364,283 4/5/2022
2.7.4 3,108,323 3/10/2022
2.7.3 1,175,391 3/1/2022
2.7.2 2,560,453 2/7/2022
2.7.1 3,709,471 1/4/2022
2.7.0 2,588,206 12/7/2021
2.6.2 2,221,270 11/18/2021
2.6.1 1,749,801 11/2/2021
2.6.0 2,508,039 10/22/2021
2.5.4 1,022,368 10/12/2021
2.5.3 3,155,958 9/7/2021
2.5.2 2,508,855 8/3/2021
2.5.1 1,877,854 7/9/2021
2.5.0 226,820 7/6/2021
2.4.0 1,433,136 6/15/2021
2.3.0 1,329,278 5/25/2021
2.2.8 3,202,859 4/13/2021
2.2.7 1,263,846 3/23/2021
2.2.6 1,309,903 3/2/2021
2.2.5 1,612,870 2/9/2021
2.2.4 2,588,780 1/19/2021
2.2.3 2,225,990 12/29/2020
2.2.2 1,933,484 12/8/2020
2.2.1 2,048,152 11/18/2020
2.2.0 264,489 11/17/2020
2.1.2 1,897,534 11/2/2020
2.1.0 525,542 10/27/2020
2.0.1-preview 36,977 4/15/2020
2.0.0-preview 74,374 5/8/2019
1.9.5 1,067,575 10/13/2020
1.9.4 251,822 9/22/2020
1.9.3 2,713,132 8/25/2020
1.9.2 1,383,490 8/4/2020
1.9.1 1,046,091 7/14/2020
1.9.0 1,102,913 6/23/2020
1.8.1 1,499,163 6/2/2020
1.8.0 1,737,855 5/19/2020
1.7.5 2,663,786 4/16/2020
1.7.4 1,098,508 3/31/2020
1.7.3 1,284,677 3/10/2020
1.7.2 1,012,572 2/18/2020
1.7.1 1,103,285 2/4/2020
1.7.0 977,308 1/7/2020
1.6.7 27,062 1/7/2020
1.6.6 403,332 12/20/2019
1.6.5 172,295 12/17/2019
1.6.4 1,158,077 11/4/2019
1.6.3 385,768 10/9/2019
1.6.2 754,206 8/27/2019
1.6.1 439,278 7/30/2019
1.6.0 403,417 7/2/2019
1.5.3 199,281 6/18/2019
1.5.2 444,250 5/6/2019
1.5.1 100,209 4/23/2019
1.5.0 98,121 4/9/2019
1.4.0 161,317 3/12/2019
1.3.1 52,624 3/2/2019
1.3.0 95,537 2/12/2019
1.2.1 484,740 1/31/2019
1.2.0 30,384 1/25/2019
1.1.0 39,107 1/15/2019
1.0.0 74,544 12/18/2018
Show less