Skip to content

Latest commit

 

History

History
153 lines (117 loc) · 3.34 KB

Set-EntraIdentityProvider.md

File metadata and controls

153 lines (117 loc) · 3.34 KB
title description ms.topic ms.date ms.author ms.reviewer manager author external help file Module Name online version schema
Set-EntraIdentityProvider
This article provides details on the Set-EntraIdentityProvider command.
reference
06/26/2024
eunicewaweru
stevemutungi
CelesteDG
msewaweru
Microsoft.Graph.Entra-Help.xml
Microsoft.Graph.Entra
2.0.0

Set-EntraIdentityProvider

Synopsis

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

Syntax

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

Description

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

Examples

Example 1: Update client id of an identity provider

PS C:\> Set-EntraIdentityProvider -Id LinkedIn-OAUTH -ClientId NewClientId

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

Example 2: Update client secret of an identity provider

PS C:\> Set-EntraIdentityProvider -Id LinkedIn-OAUTH -ClientSecret NewClientSecret

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

Example 3: Update display name of an identity provider

PS C:\> Set-EntraIdentityProvider -Id LinkedIn-OAUTH -Name NewName

This example updates the display name 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
Parameter Sets: (All)
Aliases:

Required: False
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
Parameter Sets: (All)
Aliases:

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

-Id

The unique identifier for an identity provider.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
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
Parameter Sets: (All)
Aliases:

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

-Type

The identity provider type. It must be one of the following values: Microsoft, Google, Facebook, Amazon, or LinkedIn.

Type: String
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

System.String

Outputs

System.Object

Notes

Related Links