DSInternals.Passkeys

1.0.6

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

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-2025 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

Functions

Get-PasskeyRegistrationOptions New-Passkey Register-Passkey

PSEditions

Desktop Core

Dependencies

Release Notes

- Implemented a workaround for PublicKeyCredentialCreationOptions generated by Microsoft with corrupted BASE64 padding.
- Added support for running under a service principal identity.
- Resolved the "InvalidOperation: Unable to find type [Microsoft.Graph.PowerShell.Models.MicrosoftGraphFido2AuthenticationMethod]" error when trying to register a passkey.

Note that the API is currently in public preview (beta).

FileList

  • DSInternals.Passkeys.nuspec
  • DSInternals.Passkeys.psd1
  • net6.0\System.Text.Encodings.Web.dll
  • net48\System.Text.Json.dll
  • net48\System.Threading.Tasks.Extensions.dll
  • DSInternals.Passkeys.psm1
  • net6.0\CBOR.dll
  • net48\System.Runtime.CompilerServices.Unsafe.dll
  • net48\URIUtility.dll
  • net6.0\URIUtility.dll
  • net48\System.Text.Encodings.Web.dll
  • net48\System.Buffers.dll
  • en-US\about_DSInternals.Passkeys.help.txt
  • net6.0\DSInternals.Win32.WebAuthn.deps.json
  • net48\Microsoft.Bcl.AsyncInterfaces.dll
  • net48\DSInternals.Win32.WebAuthn.pdb
  • en-US\DSInternals.Passkeys-help.xml
  • net6.0\DSInternals.Win32.WebAuthn.pdb
  • net48\CBOR.dll
  • net48\System.Numerics.Vectors.dll
  • net6.0\Numbers.dll
  • net6.0\DSInternals.Win32.WebAuthn.dll
  • net48\System.Memory.dll
  • net48\DSInternals.Win32.WebAuthn.dll
  • net6.0\System.Text.Json.dll
  • net48\Numbers.dll
  • net48\System.ValueTuple.dll
  • net6.0\runtimes\browser\lib\net6.0\System.Text.Encodings.Web.dll

Version History

Version Downloads Last updated
1.0.6 (current version) 1,386 1/16/2025
1.0.3 3,363 8/16/2024
1.0.2 12 8/14/2024
1.0.1 14 8/11/2024
1.0 7 8/11/2024