Remove-EntraIdentityProvider
This cmdlet is used to delete an identity provider in the directory.
Syntax
Remove-EntraIdentityProvider
-IdentityProviderBaseId <String>
[<CommonParameters>]
Description
This cmdlet is used to delete an identity provider that has been configured in the directory.
The identity provider is permanently deleted.
The work or school account needs to belong to at least the External Identity Provider Administrator Microsoft Entra role.
Examples
Example 1: Remove the identity provider in the directory
Connect-Entra -Scopes 'IdentityProvider.ReadWrite.All'
Remove-EntraIdentityProvider -IdentityProviderBaseId 'LinkedIn-OAUTH'
This command demonstrates how to remove the specified identity provider.
-IdentityProviderBaseId
parameter specifies the unique identifier of the identity provider.
Parameters
-IdentityProviderBaseId
The unique identifier for an identity provider.
Type: | System.String |
Aliases: | Id |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
System.String
Outputs
System.Object