您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

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
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
Accept pipeline input:False
Accept wildcard characters:False
-Id

The unique identifier for an identity provider.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-Name

The display name of the identity provider.

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

{{Fill Type Description}}

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

Inputs

String

Outputs

Object