Invoke-MgBetaCreationUserAuthenticationFido2MethodOption
Retrieve creation options required to generate and register a Microsoft Entra ID-compatible passkey. Self-service operations aren't supported.
Syntax
Invoke-MgBetaCreationUserAuthenticationFido2MethodOption
-UserId <String>
[-ChallengeTimeoutInMinutes <Int32>]
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-ProgressAction <ActionPreference>]
[<CommonParameters>]
Invoke-MgBetaCreationUserAuthenticationFido2MethodOption
-InputObject <IUsersFunctionsIdentity>
[-ChallengeTimeoutInMinutes <Int32>]
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-ProgressAction <ActionPreference>]
[<CommonParameters>]
Description
Retrieve creation options required to generate and register a Microsoft Entra ID-compatible passkey. Self-service operations aren't supported.
Permissions
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | UserAuthenticationMethod.Read | UserAuthenticationMethod.ReadWrite.All, UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | UserAuthenticationMethod.ReadWrite.All | UserAuthenticationMethod.Read.All |
Examples
Example 1: Code snippet
Import-Module Microsoft.Graph.Beta.Users.Functions
Invoke-MgBetaCreationUserAuthenticationFido2MethodOption -UserId $userId
This example shows how to use the Invoke-MgBetaCreationUserAuthenticationFido2MethodOption Cmdlet.
Parameters
-ChallengeTimeoutInMinutes
Usage: challengeTimeoutInMinutes=@challengeTimeoutInMinutes
Type: | Int32 |
Position: | Named |
Default value: | 0 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Headers
Optional headers that will be added to the request.
Type: | IDictionary |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IUsersFunctionsIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ProgressAction
{{ Fill ProgressAction Description }}
Type: | ActionPreference |
Aliases: | proga |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResponseHeadersVariable
Optional Response Headers Variable.
Type: | String |
Aliases: | RHV |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UserId
The unique identifier of user
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.Graph.Beta.PowerShell.Models.IUsersFunctionsIdentity
System.Collections.IDictionary
Outputs
Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphWebauthnCredentialCreationOptions
Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
INPUTOBJECT <IUsersFunctionsIdentity>
: Identity Parameter
[AccessReviewInstanceId <String>]
: The unique identifier of accessReviewInstance[AppConsentRequestId <String>]
: The unique identifier of appConsentRequest[CalendarId <String>]
: The unique identifier of calendar[ChatId <String>]
: The unique identifier of chat[ChatMessageId <String>]
: The unique identifier of chatMessage[CloudPcId <String>]
: The unique identifier of cloudPC[ContactFolderId <String>]
: The unique identifier of contactFolder[ContactFolderId1 <String>]
: The unique identifier of contactFolder[ContentTypeId <String>]
: The unique identifier of contentType[DriveId <String>]
: The unique identifier of drive[DriveItemId <String>]
: The unique identifier of driveItem[EndDateTime <String>]
: Usage: endDateTime='{endDateTime}'[EventId <String>]
: The unique identifier of event[GroupId <String>]
: Usage: groupId='{groupId}'[IncludePersonalNotebooks <Boolean?>]
: Usage: includePersonalNotebooks={includePersonalNotebooks}[Interval <String>]
: Usage: interval='{interval}'[JoinWebUrl <String>]
: Alternate key of onlineMeeting[ListItemId <String>]
: The unique identifier of listItem[MailFolderId <String>]
: The unique identifier of mailFolder[MailFolderId1 <String>]
: The unique identifier of mailFolder[ManagedDeviceId <String>]
: The unique identifier of managedDevice[On <String>]
: Usage: on='{on}'[OnenotePageId <String>]
: The unique identifier of onenotePage[OnlineMeetingId <String>]
: The unique identifier of onlineMeeting[PlannerBucketId <String>]
: The unique identifier of plannerBucket[PlannerPlanId <String>]
: The unique identifier of plannerPlan[Q <String>]
: Usage: q='{q}'[RoomList <String>]
: Usage: RoomList='{RoomList}'[ServicePlanId <String>]
: Usage: servicePlanId='{servicePlanId}'[Skip <Int32?>]
: Usage: skip={skip}[StartDateTime <String>]
: Usage: startDateTime='{startDateTime}'[TimeZoneStandard <String>]
: Usage: TimeZoneStandard='{TimeZoneStandard}'[TodoTaskListId <String>]
: The unique identifier of todoTaskList[Token <String>]
: Usage: token='{token}'[Top <Int32?>]
: Usage: top={top}[Upn <String>]
: Usage: upn='{upn}'[User <String>]
: Usage: User='{User}'[UserId <String>]
: The unique identifier of user