Set-AzureADMSIdentityProvider

This cmdlet is used to update the properties of an existing identity provider configured in the directory.

Syntax

Set-AzureADMSIdentityProvider
   -Id <String>
   [-Type <String>]
   [-Name <String>]
   [-ClientId <String>]
   [-ClientSecret <String>]
   [<CommonParameters>]

Description

This cmdlet can be used to update the properties of an existing identity provider. The type of the identity provider cannot be modified.

Examples

Example 1

PS C:\> Set-AzureADMSIdentityProvider -Id LinkedIn-OAUTH -ClientId NewClientId -ClientSecret NewClientSecret

This example updates the client ID and client secret for the specified identity provider.

Parameters

-ClientId

The client ID for the application. This is the client ID obtained when registering the application with the identity provider.

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

-ClientSecret

The client secret for the application. This is the client secret obtained when registering the application with the identity provider.

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

-Id

The unique identifier for an identity provider.

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

-Name

The display name of the identity provider.

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

-Type

{{Fill Type Description}}

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

Inputs

String

Outputs

Object