Az.Accounts

2.8.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://docs.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.8.0

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

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

PSEditions

Core Desktop

Dependencies

This module has no dependencies.

Release Notes

* Added a preview feature allowing user to control the following configurations by using 'Get-AzConfig', 'Update-AzConfig' and 'Clear-AzConfig':
   - 'DefaultSubscriptionForLogin': Subscription name or GUID. Sets the default context for Azure PowerShell when logging in without specifying a subscription.
   - 'DisplayBreakingChangeWarning': Controls if warning messages for breaking changes are displayed or suppressed.
   - 'EnableDataCollection': When enabled, Azure PowerShell cmdlets send telemetry data to Microsoft to improve the customer experience.
* Upgraded System.Reflection.DispatchProxy on Windows PowerShell [#17856]
* Upgraded Azure.Identity to 1.6.0 and Azure.Core to 1.24.0

FileList

  • Az.Accounts.nuspec
  • Accounts.format.ps1xml
  • Accounts.generated.format.ps1xml
  • Accounts.types.ps1xml
  • Az.Accounts.psd1
  • Az.Accounts.psm1
  • Hyak.Common.dll
  • Microsoft.ApplicationInsights.dll
  • Microsoft.Azure.Common.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
  • AzSharedAlcAssemblies\Azure.Core.dll
  • AzSharedAlcAssemblies\Azure.Identity.dll
  • AzSharedAlcAssemblies\Microsoft.Bcl.AsyncInterfaces.dll
  • AzSharedAlcAssemblies\Microsoft.Identity.Client.dll
  • AzSharedAlcAssemblies\Microsoft.Identity.Client.Extensions.Msal.dll
  • AzSharedAlcAssemblies\System.Memory.Data.dll
  • AzSharedAlcAssemblies\System.Text.Json.dll
  • en-US\about_az.help.txt
  • PostImportScripts\LoadAuthenticators.ps1
  • PreloadAssemblies\Azure.Core.dll
  • PreloadAssemblies\Azure.Identity.dll
  • PreloadAssemblies\Microsoft.Azure.PowerShell.Authenticators.dll
  • PreloadAssemblies\Microsoft.Bcl.AsyncInterfaces.dll
  • PreloadAssemblies\Microsoft.Identity.Client.dll
  • PreloadAssemblies\Microsoft.Identity.Client.Extensions.Msal.dll
  • PreloadAssemblies\Newtonsoft.Json.12.0.3.dll
  • PreloadAssemblies\Newtonsoft.Json.dll
  • PreloadAssemblies\System.Buffers.dll
  • PreloadAssemblies\System.Diagnostics.DiagnosticSource.dll
  • PreloadAssemblies\System.Memory.Data.dll
  • PreloadAssemblies\System.Memory.dll
  • PreloadAssemblies\System.Net.Http.WinHttpHandler.dll
  • PreloadAssemblies\System.Numerics.Vectors.dll
  • PreloadAssemblies\System.Private.ServiceModel.dll
  • PreloadAssemblies\System.Reflection.DispatchProxy.dll
  • PreloadAssemblies\System.Runtime.CompilerServices.Unsafe.dll
  • PreloadAssemblies\System.Security.AccessControl.dll
  • PreloadAssemblies\System.Security.Cryptography.Cng.dll
  • PreloadAssemblies\System.Security.Permissions.dll
  • PreloadAssemblies\System.Security.Principal.Windows.dll
  • PreloadAssemblies\System.ServiceModel.Primitives.dll
  • PreloadAssemblies\System.Text.Encodings.Web.dll
  • PreloadAssemblies\System.Text.Json.dll
  • PreloadAssemblies\System.Threading.Tasks.Extensions.dll
  • PreloadAssemblies\System.Xml.ReaderWriter.dll
  • StartupScripts\AzError.ps1
  • StartupScripts\InitializeAssemblyResolver.ps1

Version History

Version Downloads Last updated
5.0.1 1,441,244 5/23/2025
5.0.0 4,354,839 5/19/2025
4.2.0 11,483,079 5/6/2025
4.1.0 27,764,709 4/1/2025
4.0.2 61,046,079 1/15/2025
4.0.1 1,514,954 1/14/2025
4.0.0 41,162,821 11/19/2024
3.0.5 12,337,778 11/11/2024
3.0.4 106,822,889 9/3/2024
3.0.3 15,035,089 8/6/2024
3.0.2 11,785,621 7/12/2024
3.0.1 2,057,480 7/9/2024
3.0.0 26,513,217 5/21/2024
2.19.0 11,228,375 4/30/2024
2.18.0-preview 21,828 4/9/2024
2.17.0 12,394,682 4/2/2024
2.16.0 11,469,000 3/5/2024
2.15.1 10,889,409 2/6/2024
2.15.0 10,434,617 1/9/2024
2.14.0-preview 25,630 12/19/2023
2.13.2 22,577,121 11/14/2023
2.13.1 21,366,463 9/26/2023
2.13.0 6,644,367 9/5/2023
2.12.5 10,072,331 8/1/2023
2.12.4 8,314,631 7/4/2023
2.12.3 11,167,285 5/23/2023
2.12.2 8,521,948 4/25/2023
2.12.1 16,178,454 3/10/2023
2.12.0 725,543 3/9/2023
2.11.2 6,919,204 2/7/2023
2.11.1 3,917,863 1/13/2023
2.11.0 729,712 1/10/2023
2.10.4 4,750,213 12/6/2022
2.10.3 6,109,193 11/1/2022
2.10.2 2,992,957 10/12/2022
2.10.1 3,257,431 9/14/2022
2.10.0 1,014,990 9/6/2022
2.9.1 33,726,115 8/2/2022
2.9.0 3,804,604 7/5/2022
2.8.0 (current version) 5,752,032 5/24/2022
2.7.6 3,393,022 4/26/2022
2.7.5 2,347,991 4/5/2022
2.7.4 3,080,232 3/10/2022
2.7.3 1,167,371 3/1/2022
2.7.2 2,550,992 2/7/2022
2.7.1 3,688,272 1/4/2022
2.7.0 2,577,545 12/7/2021
2.6.2 2,211,846 11/18/2021
2.6.1 1,725,310 11/2/2021
2.6.0 2,286,721 10/22/2021
2.5.4 1,016,756 10/12/2021
2.5.3 3,147,490 9/7/2021
2.5.2 2,502,601 8/3/2021
2.5.1 1,834,523 7/9/2021
2.5.0 223,498 7/6/2021
2.4.0 1,425,416 6/15/2021
2.3.0 1,323,194 5/25/2021
2.2.8 3,107,352 4/13/2021
2.2.7 1,253,913 3/23/2021
2.2.6 1,301,101 3/2/2021
2.2.5 1,593,812 2/9/2021
2.2.4 2,580,006 1/19/2021
2.2.3 2,142,778 12/29/2020
2.2.2 1,925,924 12/8/2020
2.2.1 2,038,509 11/18/2020
2.2.0 252,977 11/17/2020
2.1.2 1,884,946 11/2/2020
2.1.0 518,712 10/27/2020
2.0.1-preview 35,901 4/15/2020
2.0.0-preview 74,355 5/8/2019
1.9.5 1,025,180 10/13/2020
1.9.4 244,803 9/22/2020
1.9.3 2,702,203 8/25/2020
1.9.2 1,377,572 8/4/2020
1.9.1 1,037,361 7/14/2020
1.9.0 1,077,892 6/23/2020
1.8.1 1,493,781 6/2/2020
1.8.0 1,598,673 5/19/2020
1.7.5 2,656,700 4/16/2020
1.7.4 1,087,605 3/31/2020
1.7.3 1,278,218 3/10/2020
1.7.2 1,006,083 2/18/2020
1.7.1 1,089,107 2/4/2020
1.7.0 972,417 1/7/2020
1.6.7 20,812 1/7/2020
1.6.6 400,398 12/20/2019
1.6.5 160,552 12/17/2019
1.6.4 1,148,917 11/4/2019
1.6.3 379,728 10/9/2019
1.6.2 741,536 8/27/2019
1.6.1 432,186 7/30/2019
1.6.0 396,521 7/2/2019
1.5.3 167,367 6/18/2019
1.5.2 431,969 5/6/2019
1.5.1 94,847 4/23/2019
1.5.0 92,916 4/9/2019
1.4.0 153,808 3/12/2019
1.3.1 49,319 3/2/2019
1.3.0 92,242 2/12/2019
1.2.1 481,310 1/31/2019
1.2.0 27,515 1/25/2019
1.1.0 35,579 1/15/2019
1.0.0 71,274 12/18/2018
Show less