Az.Accounts

2.16.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.16.0

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

Install-PSResource -Name Az.Accounts -Version 2.16.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

* Added a preview feature to detect secrets and sensitive information from the output of Azure PowerShell cmdlets to prevent leakage. Enable it by 'Set-AzConfig -DisplaySecretsWarning True'. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844
* Fixed 'CacheDirectory' and 'CacheFile' out-of-sync issue in AzureRmContextSettings.json and the customers are not allowed to change these 2 properties.
* Redirected device code login messages from warning stream to information stream if use device authentication in 'Connect-AzAccount'.

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.1.1 2,344,315 7/1/2025
5.1.0 31,859,557 6/4/2025
5.0.2 1,649,256 6/3/2025
5.0.1 8,618,235 5/23/2025
5.0.0 4,384,872 5/19/2025
4.2.0 11,555,876 5/6/2025
4.1.0 27,771,277 4/1/2025
4.0.2 61,093,481 1/15/2025
4.0.1 1,550,028 1/14/2025
4.0.0 41,176,163 11/19/2024
3.0.5 12,480,539 11/11/2024
3.0.4 106,845,078 9/3/2024
3.0.3 15,040,768 8/6/2024
3.0.2 11,805,543 7/12/2024
3.0.1 2,058,822 7/9/2024
3.0.0 26,771,287 5/21/2024
2.19.0 11,407,861 4/30/2024
2.18.0-preview 21,830 4/9/2024
2.17.0 12,398,778 4/2/2024
2.16.0 (current version) 11,472,141 3/5/2024
2.15.1 10,912,283 2/6/2024
2.15.0 10,443,807 1/9/2024
2.14.0-preview 25,630 12/19/2023
2.13.2 22,608,857 11/14/2023
2.13.1 21,376,097 9/26/2023
2.13.0 6,707,318 9/5/2023
2.12.5 10,077,597 8/1/2023
2.12.4 8,316,673 7/4/2023
2.12.3 11,170,412 5/23/2023
2.12.2 8,619,346 4/25/2023
2.12.1 16,610,095 3/10/2023
2.12.0 738,094 3/9/2023
2.11.2 6,923,663 2/7/2023
2.11.1 3,920,274 1/13/2023
2.11.0 731,143 1/10/2023
2.10.4 4,757,302 12/6/2022
2.10.3 6,111,508 11/1/2022
2.10.2 2,996,057 10/12/2022
2.10.1 3,259,821 9/14/2022
2.10.0 1,016,791 9/6/2022
2.9.1 33,728,107 8/2/2022
2.9.0 3,805,978 7/5/2022
2.8.0 5,758,549 5/24/2022
2.7.6 3,396,042 4/26/2022
2.7.5 2,351,098 4/5/2022
2.7.4 3,083,576 3/10/2022
2.7.3 1,168,348 3/1/2022
2.7.2 2,553,211 2/7/2022
2.7.1 3,691,134 1/4/2022
2.7.0 2,579,149 12/7/2021
2.6.2 2,213,650 11/18/2021
2.6.1 1,728,480 11/2/2021
2.6.0 2,316,869 10/22/2021
2.5.4 1,017,523 10/12/2021
2.5.3 3,149,495 9/7/2021
2.5.2 2,503,618 8/3/2021
2.5.1 1,840,492 7/9/2021
2.5.0 224,121 7/6/2021
2.4.0 1,426,451 6/15/2021
2.3.0 1,324,215 5/25/2021
2.2.8 3,116,377 4/13/2021
2.2.7 1,255,765 3/23/2021
2.2.6 1,302,570 3/2/2021
2.2.5 1,596,281 2/9/2021
2.2.4 2,581,308 1/19/2021
2.2.3 2,150,831 12/29/2020
2.2.2 1,927,281 12/8/2020
2.2.1 2,039,449 11/18/2020
2.2.0 255,355 11/17/2020
2.1.2 1,886,983 11/2/2020
2.1.0 519,905 10/27/2020
2.0.1-preview 36,000 4/15/2020
2.0.0-preview 74,357 5/8/2019
1.9.5 1,031,541 10/13/2020
1.9.4 245,953 9/22/2020
1.9.3 2,704,334 8/25/2020
1.9.2 1,378,633 8/4/2020
1.9.1 1,038,659 7/14/2020
1.9.0 1,079,851 6/23/2020
1.8.1 1,494,485 6/2/2020
1.8.0 1,615,307 5/19/2020
1.7.5 2,657,850 4/16/2020
1.7.4 1,089,086 3/31/2020
1.7.3 1,279,360 3/10/2020
1.7.2 1,007,179 2/18/2020
1.7.1 1,091,545 2/4/2020
1.7.0 973,256 1/7/2020
1.6.7 21,939 1/7/2020
1.6.6 400,895 12/20/2019
1.6.5 162,108 12/17/2019
1.6.4 1,150,462 11/4/2019
1.6.3 380,868 10/9/2019
1.6.2 743,549 8/27/2019
1.6.1 433,215 7/30/2019
1.6.0 397,554 7/2/2019
1.5.3 168,512 6/18/2019
1.5.2 433,757 5/6/2019
1.5.1 95,989 4/23/2019
1.5.0 94,155 4/9/2019
1.4.0 157,300 3/12/2019
1.3.1 49,978 3/2/2019
1.3.0 93,374 2/12/2019
1.2.1 481,838 1/31/2019
1.2.0 28,127 1/25/2019
1.1.0 36,168 1/15/2019
1.0.0 71,816 12/18/2018
Show less