CmdID / PowerShell / Cmdlets / New
New-MgUserAuthenticationTemporaryAccessPassMethod
Create a new temporaryAccessPassAuthenticationMethod object on a user. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 22 parameters Its page in the reference
Parameters
Show its 22 parameters
-AdditionalPropertiesAdditional Parameters-BodyParametertemporaryAccessPassAuthenticationMethod To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CreatedDateTimeRepresents the date and time when an entity was created.-HeadersOptional headers that will be added to the request.-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline-IdThe unique identifier for an entity.-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.-IsUsableThe state of the authentication method that indicates whether it's currently usable by the user.-IsUsableOnceDetermines whether the pass is limited to a one-time use.-LifetimeInMinutesThe lifetime of the Temporary Access Pass in minutes starting at startDateTime.-MethodUsabilityReasonDetails about the usability state (isUsable).-ProxyThe URI for the proxy server to use-ProxyCredentialCredentials for a proxy server to use for the remote call-ProxyUseDefaultCredentialsUse the default credentials for the proxy-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-StartDateTimeThe date and time when the Temporary Access Pass becomes available to use and when isUsable is true is enforced.-TemporaryAccessPassThe Temporary Access Pass used to authenticate.-UserIdThe unique identifier of user-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.