DSInternals.Passkeys

3.4.0

Allows administrative registration of passkeys (i.e. FIDO2 security keys and Microsoft Authenticator mobile app) in Microsoft Entra ID (formerly Azure Active Directory) and Okta.

Minimum PowerShell version

5.1

Installation Options

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

Install-Module -Name DSInternals.Passkeys

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

Install-PSResource -Name DSInternals.Passkeys

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

Copyright (c) 2021-2026 Michael Grafnetter. All rights reserved.

Package Details

Author(s)

  • Michael Grafnetter

Tags

Windows FIDO2 Passkeys EntraID AzureAD Azure WebAuthn CTAP Security 2FA MFA Authentication Identity Passwordless Okta

Functions

Get-OktaPasskeyRegistrationOptions New-Passkey Register-EntraPasskey Register-OktaPasskey Test-Passkey Test-PasskeyWindowsHelloForBusiness Connect-Okta Disconnect-Okta Get-PasskeyAuthenticatorPlugin Get-PasskeyAuthenticator Get-PasskeyWindowsHello Remove-PasskeyWindowsHello New-PasskeyRandomChallenge Get-PasskeyCreationOptions

PSEditions

Desktop Core

Dependencies

Release Notes

       - Microsoft Entra ID passkey registration now uses the generally available v1.0 Microsoft Graph API endpoints instead of the beta ones.
       - BREAKING CHANGE: The Get-EntraPasskeyRegistrationOptions cmdlet has been replaced by an alias to the native Invoke-MgCreationUserAuthenticationFido2MethodOption cmdlet, which changes the emitted object type. Existing pipelines keep working, as New-Passkey now accepts the native cmdlet's output directly.
       - BREAKING CHANGE: The -ChallengeTimeout parameter has been removed from Entra ID passkey registration, as the v1.0 Graph API uses a fixed 5-minute challenge validity.
       - BREAKING CHANGE: The DSInternals.Win32.WebAuthn.Entra namespace has been removed from the bundled library, as Microsoft Graph payloads are now represented by the data model classes from the Microsoft Graph PowerShell SDK.

FileList

  • DSInternals.Passkeys.nuspec
  • DSInternals.Passkeys.Core.psm1
  • DSInternals.Passkeys.Entra.psm1
  • DSInternals.Passkeys.Format.ps1xml
  • DSInternals.Passkeys.Okta.psm1
  • DSInternals.Passkeys.psd1
  • en-US\DSInternals.Passkeys.Core.psm1-help.xml
  • en-US\DSInternals.Passkeys.Entra.psm1-help.xml
  • en-US\DSInternals.Passkeys.Okta.psm1-help.xml
  • en-US\about_DSInternals.Passkeys.help.txt
  • net48\DSInternals.Win32.WebAuthn.dll
  • net48\DSInternals.Win32.WebAuthn.pdb
  • net48\Microsoft.Bcl.AsyncInterfaces.dll
  • net48\Microsoft.Bcl.HashCode.dll
  • net48\Microsoft.Bcl.Memory.dll
  • net48\Microsoft.Bcl.TimeProvider.dll
  • net48\Microsoft.Extensions.Logging.Abstractions.dll
  • net48\Microsoft.Identity.Client.dll
  • net48\Microsoft.IdentityModel.Abstractions.dll
  • net48\Microsoft.IdentityModel.JsonWebTokens.dll
  • net48\Microsoft.IdentityModel.Logging.dll
  • net48\Microsoft.IdentityModel.Tokens.dll
  • net48\System.Buffers.dll
  • net48\System.Diagnostics.DiagnosticSource.dll
  • net48\System.Formats.Asn1.dll
  • net48\System.Formats.Cbor.dll
  • net48\System.IO.Pipelines.dll
  • net48\System.IdentityModel.Tokens.Jwt.dll
  • net48\System.Memory.dll
  • net48\System.Numerics.Vectors.dll
  • net48\System.Runtime.CompilerServices.Unsafe.dll
  • net48\System.Text.Encodings.Web.dll
  • net48\System.Text.Json.dll
  • net48\System.Threading.Tasks.Extensions.dll
  • net8.0-windows\DSInternals.Win32.WebAuthn.dll
  • net8.0-windows\DSInternals.Win32.WebAuthn.pdb
  • net8.0-windows\Microsoft.Bcl.Memory.dll
  • net8.0-windows\Microsoft.Extensions.DependencyInjection.Abstractions.dll
  • net8.0-windows\Microsoft.Extensions.Logging.Abstractions.dll
  • net8.0-windows\Microsoft.Identity.Client.dll
  • net8.0-windows\Microsoft.IdentityModel.Abstractions.dll
  • net8.0-windows\Microsoft.IdentityModel.JsonWebTokens.dll
  • net8.0-windows\Microsoft.IdentityModel.Logging.dll
  • net8.0-windows\Microsoft.IdentityModel.Tokens.dll
  • net8.0-windows\NSec.Cryptography.dll
  • net8.0-windows\System.Diagnostics.EventLog.dll
  • net8.0-windows\System.Formats.Asn1.dll
  • net8.0-windows\System.Formats.Cbor.dll
  • net8.0-windows\System.IdentityModel.Tokens.Jwt.dll

Version History

Version Downloads Last updated
3.4.0 (current version) 5 8/23/2026
3.3.0 33 8/19/2026
3.2.0 802 6/4/2026
3.1.0 324 5/14/2026
2.1.1 431 4/5/2026
2.1.0 6 4/5/2026
2.0.0 20 4/3/2026
1.0.6 5,873 1/16/2025
1.0.3 3,408 8/16/2024
1.0.2 21 8/14/2024
1.0.1 26 8/11/2024
1.0 10 8/11/2024
Show more