AzAuth

2.6.0

A lightweight PowerShell module to handle Azure authentication, using the Azure.Identity MSAL library.

Minimum PowerShell version

7.4

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name AzAuth

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

Install-PSResource -Name AzAuth

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

(c) Emanuel Palm. All rights reserved.

Package Details

Author(s)

  • Emanuel Palm

Tags

azure auth token oauth identity authentication authorization authn authz serviceprincipal spn managedidentity workload workloadidentity federation credential OIDC

Cmdlets

Get-AzToken Get-AzTokenCache Clear-AzTokenCache

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

## [2.6.0] - 2025-07-04

### Added

- New command `Get-AzTokenCache`, closes #96
- New parameters for `Clear-AzTokenCache`
 - The new `-Force` parameter will attempt to delete the entire token cache directory instead of only clearing it from tokens. *Use at your own risk*, since it deletes a directory and recursively deletes its files on disk.
 - The new `-RootPath` allows for specifying a custom root directory for token caches. This may show up in other commands in the future.
- All token cache parameters now support argument completers to suggest existing caches in the chosen root directory
- Alias `-Name` added for `TokenCache` parameter for Clear- & Get-commands.

FileList

  • AzAuth.nuspec
  • AzAuth.PS.pdb
  • dependencies\Azure.Core.dll
  • dependencies\System.Buffers.dll
  • dependencies\System.Management.Automation.dll
  • Microsoft.VisualStudio.Threading.dll
  • dependencies\Microsoft.IdentityModel.JsonWebTokens.dll
  • dependencies\msalruntime.dll
  • dependencies\System.Text.Encodings.Web.dll
  • Microsoft.VisualStudio.Validation.dll
  • dependencies\System.Diagnostics.DiagnosticSource.dll
  • dependencies\Microsoft.Identity.Client.Extensions.Msal.dll
  • dependencies\System.ClientModel.dll
  • LICENSE
  • dependencies\System.Text.Json.dll
  • dependencies\Azure.Identity.dll
  • dependencies\Microsoft.CSharp.dll
  • AzAuth.PS.dll
  • dependencies\Azure.Identity.Broker.dll
  • dependencies\Microsoft.Extensions.DependencyInjection.Abstractions.dll
  • dependencies\Microsoft.IdentityModel.Logging.dll
  • AzAuth.psd1
  • dependencies\System.Security.Cryptography.ProtectedData.dll
  • dependencies\System.Memory.dll
  • dependencies\System.Threading.Tasks.Extensions.dll
  • CHANGELOG.md
  • dependencies\Microsoft.IdentityModel.Abstractions.dll
  • dependencies\AzAuth.Core.dll
  • dependencies\Microsoft.Bcl.TimeProvider.dll
  • dependencies\Microsoft.Bcl.AsyncInterfaces.dll
  • dependencies\System.Memory.Data.dll
  • dependencies\Microsoft.Win32.Registry.dll
  • en-US\AzAuth.PS.dll-Help.xml
  • dependencies\System.Security.Principal.Windows.dll
  • dependencies\Microsoft.Identity.Client.NativeInterop.dll
  • dependencies\System.IdentityModel.Tokens.Jwt.dll
  • dependencies\System.Runtime.CompilerServices.Unsafe.dll
  • dependencies\Microsoft.Extensions.Logging.Abstractions.dll
  • dependencies\msalruntime_x86.dll
  • dependencies\Microsoft.IdentityModel.Tokens.dll
  • dependencies\System.Numerics.Vectors.dll
  • dependencies\msalruntime_arm64.dll
  • dependencies\System.Security.Cryptography.Cng.dll
  • dependencies\AzAuth.Core.pdb
  • dependencies\System.IO.FileSystem.AccessControl.dll
  • dependencies\Microsoft.Identity.Client.dll
  • dependencies\System.Security.AccessControl.dll
  • dependencies\Microsoft.Identity.Client.Broker.dll

Version History

Version Downloads Last updated
2.6.0 (current version) 334 7/4/2025
2.5.0 2,152 7/1/2025
2.4.1 70,570 12/18/2024
2.4.0 507 12/12/2024
2.3.0 8,779 8/21/2024
2.2.10 6,711 5/22/2024
2.2.9 2,433 1/22/2024
2.2.8 71 1/11/2024
2.2.7 137 12/17/2023
2.2.6 10 12/16/2023
2.2.5 51 12/7/2023
2.2.4 30 12/4/2023
2.2.3 214 10/3/2023
2.2.2 184 5/17/2023
2.2.1 25 5/10/2023
2.2.0 11 5/9/2023
2.1.0 17 5/5/2023
2.0.1 25 4/21/2023
2.0.0 48 4/11/2023
1.1.1 135 5/5/2022
1.1.0 31 3/2/2022
1.0.1 19 3/2/2022
1.0.0 20 3/2/2022
Show more