New-MgBetaIdentityB2CUserFlow

Create a new b2cIdentityUserFlow object.

Syntax

New-MgBetaIdentityB2CUserFlow
   [-ResponseHeadersVariable <String>]
   [-AdditionalProperties <Hashtable>]
   [-ApiConnectorConfiguration <IMicrosoftGraphUserFlowApiConnectorConfiguration>]
   [-DefaultLanguageTag <String>]
   [-Id <String>]
   [-IdentityProviders <IMicrosoftGraphIdentityProvider[]>]
   [-IsLanguageCustomizationEnabled]
   [-Languages <IMicrosoftGraphUserFlowLanguageConfiguration[]>]
   [-UserAttributeAssignments <IMicrosoftGraphIdentityUserFlowAttributeAssignment[]>]
   [-UserFlowIdentityProviders <IMicrosoftGraphIdentityProviderBase[]>]
   [-UserFlowType <String>]
   [-UserFlowTypeVersion <Single>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgBetaIdentityB2CUserFlow
   -BodyParameter <IMicrosoftGraphB2CIdentityUserFlow>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Create a new b2cIdentityUserFlow object.

Examples

Example 1: Using the New-MgBetaIdentityB2CUserFlow Cmdlet

Import-Module Microsoft.Graph.Beta.Identity.SignIns
$params = @{
	Id = "UserFlowWithAPIConnector"
	UserFlowType = "signUpOrSignIn"
	UserFlowTypeVersion = 1
	ApiConnectorConfiguration = @{
		PostFederationSignup = @{
			"@odata.id" = "{apiConnectorId}"
		}
		PostAttributeCollection = @{
			"@odata.id" = "{apiConnectorId}"
		}
	}
}
New-MgBetaIdentityB2CUserFlow -BodyParameter $params

This example shows how to use the New-MgBetaIdentityB2CUserFlow Cmdlet. To learn about permissions for this resource, see the permissions reference.

Example 2: Using the New-MgBetaIdentityB2CUserFlow Cmdlet

Import-Module Microsoft.Graph.Beta.Identity.SignIns
$params = @{
	Id = "Customer"
	UserFlowType = "signUpOrSignIn"
	UserFlowTypeVersion = 3
	IdentityProviders = @(
		@{
			Id = "Facebook-OAuth"
		}
	)
}
New-MgBetaIdentityB2CUserFlow -BodyParameter $params

This example shows how to use the New-MgBetaIdentityB2CUserFlow Cmdlet. To learn about permissions for this resource, see the permissions reference.

Example 3: Using the New-MgBetaIdentityB2CUserFlow Cmdlet

Import-Module Microsoft.Graph.Beta.Identity.SignIns
$params = @{
	Id = "Customer"
	UserFlowType = "signUpOrSignIn"
	UserFlowTypeVersion = 3
}
New-MgBetaIdentityB2CUserFlow -BodyParameter $params

This example shows how to use the New-MgBetaIdentityB2CUserFlow Cmdlet. To learn about permissions for this resource, see the permissions reference.

Parameters

-AdditionalProperties

Additional Parameters

Type:Hashtable
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ApiConnectorConfiguration

userFlowApiConnectorConfiguration To construct, see NOTES section for APICONNECTORCONFIGURATION properties and create a hash table.

Type:IMicrosoftGraphUserFlowApiConnectorConfiguration
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BodyParameter

b2cIdentityUserFlow To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Type:IMicrosoftGraphB2CIdentityUserFlow
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultLanguageTag

Indicates the default language of the b2cIdentityUserFlow that is used when no ui_locale tag is specified in the request. This field is RFC 5646 compliant.

Type:String
Position:Named
Default value:None
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

-Id

The unique identifier for an entity. Read-only.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IdentityProviders

. To construct, see NOTES section for IDENTITYPROVIDERS properties and create a hash table.

Type:IMicrosoftGraphIdentityProvider[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IsLanguageCustomizationEnabled

The property that determines whether language customization is enabled within the B2C user flow. Language customization is not enabled by default for B2C user flows.

Type:SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Languages

The languages supported for customization within the user flow. Language customization is not enabled by default in B2C user flows. To construct, see NOTES section for LANGUAGES properties and create a hash table.

Type:IMicrosoftGraphUserFlowLanguageConfiguration[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
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

-UserAttributeAssignments

The user attribute assignments included in the user flow. To construct, see NOTES section for USERATTRIBUTEASSIGNMENTS properties and create a hash table.

Type:IMicrosoftGraphIdentityUserFlowAttributeAssignment[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UserFlowIdentityProviders

. To construct, see NOTES section for USERFLOWIDENTITYPROVIDERS properties and create a hash table.

Type:IMicrosoftGraphIdentityProviderBase[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UserFlowType

userFlowType

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UserFlowTypeVersion

.

Type:Single
Position:Named
Default value:0
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphB2CIdentityUserFlow

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphB2CIdentityUserFlow

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.

APICONNECTORCONFIGURATION <IMicrosoftGraphUserFlowApiConnectorConfiguration>: userFlowApiConnectorConfiguration

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [PostAttributeCollection <IMicrosoftGraphIdentityApiConnector>]: identityApiConnector
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [AuthenticationConfiguration <IMicrosoftGraphApiAuthenticationConfigurationBase>]: apiAuthenticationConfigurationBase
      • [(Any) <Object>]: This indicates any property can be added to this object.
    • [DisplayName <String>]: The name of the API connector.
    • [TargetUrl <String>]: The URL of the API endpoint to call.
  • [PostFederationSignup <IMicrosoftGraphIdentityApiConnector>]: identityApiConnector
  • [PreTokenIssuance <IMicrosoftGraphIdentityApiConnector>]: identityApiConnector

BODYPARAMETER <IMicrosoftGraphB2CIdentityUserFlow>: b2cIdentityUserFlow

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [UserFlowType <String>]: userFlowType
  • [UserFlowTypeVersion <Single?>]:
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [ApiConnectorConfiguration <IMicrosoftGraphUserFlowApiConnectorConfiguration>]: userFlowApiConnectorConfiguration
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [PostAttributeCollection <IMicrosoftGraphIdentityApiConnector>]: identityApiConnector
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [AuthenticationConfiguration <IMicrosoftGraphApiAuthenticationConfigurationBase>]: apiAuthenticationConfigurationBase
        • [(Any) <Object>]: This indicates any property can be added to this object.
      • [DisplayName <String>]: The name of the API connector.
      • [TargetUrl <String>]: The URL of the API endpoint to call.
    • [PostFederationSignup <IMicrosoftGraphIdentityApiConnector>]: identityApiConnector
    • [PreTokenIssuance <IMicrosoftGraphIdentityApiConnector>]: identityApiConnector
  • [DefaultLanguageTag <String>]: Indicates the default language of the b2cIdentityUserFlow that is used when no ui_locale tag is specified in the request. This field is RFC 5646 compliant.
  • [IdentityProviders <IMicrosoftGraphIdentityProvider- []>]:
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [ClientId <String>]: The client ID for the application obtained when registering the application with the identity provider. This is a required field. Required. Not nullable.
    • [ClientSecret <String>]: The client secret for the application obtained when registering the application with the identity provider. This is write-only. A read operation will return . This is a required field. Required. Not nullable.
    • [Name <String>]: The display name of the identity provider. Not nullable.
    • [Type <String>]: The identity provider type is a required field. For B2B scenario: Google, Facebook. For B2C scenario: Microsoft, Google, Amazon, LinkedIn, Facebook, GitHub, Twitter, Weibo,QQ, WeChat, OpenIDConnect. Not nullable.
  • [IsLanguageCustomizationEnabled <Boolean?>]: The property that determines whether language customization is enabled within the B2C user flow. Language customization is not enabled by default for B2C user flows.
  • [Languages <IMicrosoftGraphUserFlowLanguageConfiguration- []>]: The languages supported for customization within the user flow. Language customization is not enabled by default in B2C user flows.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [DefaultPages <IMicrosoftGraphUserFlowLanguagePage- []>]: Collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification.
      • [Id <String>]: The unique identifier for an entity. Read-only.
    • [DisplayName <String>]: The language name to display. This property is read-only.
    • [IsEnabled <Boolean?>]: Indicates whether the language is enabled within the user flow.
    • [OverridesPages <IMicrosoftGraphUserFlowLanguagePage- []>]: Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages).
  • [UserAttributeAssignments <IMicrosoftGraphIdentityUserFlowAttributeAssignment- []>]: The user attribute assignments included in the user flow.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [DisplayName <String>]: The display name of the identityUserFlowAttribute within a user flow.
    • [IsOptional <Boolean?>]: Determines whether the identityUserFlowAttribute is optional. true means the user doesn't have to provide a value. false means the user can't complete sign-up without providing a value.
    • [RequiresVerification <Boolean?>]: Determines whether the identityUserFlowAttribute requires verification. This is only used for verifying the user's phone number or email address.
    • [UserAttribute <IMicrosoftGraphIdentityUserFlowAttribute>]: identityUserFlowAttribute
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [DataType <String>]: identityUserFlowAttributeDataType
      • [Description <String>]: The description of the user flow attribute that's shown to the user at the time of sign-up.
      • [DisplayName <String>]: The display name of the user flow attribute. Supports $filter (eq, ne).
      • [UserFlowAttributeType <String>]: identityUserFlowAttributeType
    • [UserAttributeValues <IMicrosoftGraphUserAttributeValuesItem- []>]: The input options for the user flow attribute. Only applicable when the userInputType is radioSingleSelect, dropdownSingleSelect, or checkboxMultiSelect.
      • [IsDefault <Boolean?>]: Used to set the value as the default.
      • [Name <String>]: The display name of the property displayed to the end user in the user flow.
      • [Value <String>]: The value that is set when this item is selected.
    • [UserInputType <String>]: identityUserFlowAttributeInputType
  • [UserFlowIdentityProviders <IMicrosoftGraphIdentityProviderBase- []>]:
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [DisplayName <String>]: The display name of the identity provider.

IDENTITYPROVIDERS <IMicrosoftGraphIdentityProvider- []>: .

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [ClientId <String>]: The client ID for the application obtained when registering the application with the identity provider. This is a required field. Required. Not nullable.
  • [ClientSecret <String>]: The client secret for the application obtained when registering the application with the identity provider. This is write-only. A read operation will return . This is a required field. Required. Not nullable.
  • [Name <String>]: The display name of the identity provider. Not nullable.
  • [Type <String>]: The identity provider type is a required field. For B2B scenario: Google, Facebook. For B2C scenario: Microsoft, Google, Amazon, LinkedIn, Facebook, GitHub, Twitter, Weibo,QQ, WeChat, OpenIDConnect. Not nullable.

LANGUAGES <IMicrosoftGraphUserFlowLanguageConfiguration- []>: The languages supported for customization within the user flow. Language customization is not enabled by default in B2C user flows.

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [DefaultPages <IMicrosoftGraphUserFlowLanguagePage- []>]: Collection of pages with the default content to display in a user flow for a specified language. This collection doesn't allow any kind of modification.
    • [Id <String>]: The unique identifier for an entity. Read-only.
  • [DisplayName <String>]: The language name to display. This property is read-only.
  • [IsEnabled <Boolean?>]: Indicates whether the language is enabled within the user flow.
  • [OverridesPages <IMicrosoftGraphUserFlowLanguagePage- []>]: Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification isn't allowed (creation or deletion of pages).

USERATTRIBUTEASSIGNMENTS <IMicrosoftGraphIdentityUserFlowAttributeAssignment- []>: The user attribute assignments included in the user flow.

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [DisplayName <String>]: The display name of the identityUserFlowAttribute within a user flow.
  • [IsOptional <Boolean?>]: Determines whether the identityUserFlowAttribute is optional. true means the user doesn't have to provide a value. false means the user can't complete sign-up without providing a value.
  • [RequiresVerification <Boolean?>]: Determines whether the identityUserFlowAttribute requires verification. This is only used for verifying the user's phone number or email address.
  • [UserAttribute <IMicrosoftGraphIdentityUserFlowAttribute>]: identityUserFlowAttribute
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [DataType <String>]: identityUserFlowAttributeDataType
    • [Description <String>]: The description of the user flow attribute that's shown to the user at the time of sign-up.
    • [DisplayName <String>]: The display name of the user flow attribute. Supports $filter (eq, ne).
    • [UserFlowAttributeType <String>]: identityUserFlowAttributeType
  • [UserAttributeValues <IMicrosoftGraphUserAttributeValuesItem- []>]: The input options for the user flow attribute. Only applicable when the userInputType is radioSingleSelect, dropdownSingleSelect, or checkboxMultiSelect.
    • [IsDefault <Boolean?>]: Used to set the value as the default.
    • [Name <String>]: The display name of the property displayed to the end user in the user flow.
    • [Value <String>]: The value that is set when this item is selected.
  • [UserInputType <String>]: identityUserFlowAttributeInputType

USERFLOWIDENTITYPROVIDERS <IMicrosoftGraphIdentityProviderBase- []>: .

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [DisplayName <String>]: The display name of the identity provider.

https://video2.skills-academy.com/powershell/module/microsoft.graph.beta.identity.signins/new-mgbetaidentityb2cuserflow

https://video2.skills-academy.com/graph/api/identitycontainer-post-b2cuserflows?view=graph-rest-1.0