Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Remove-EntraIdentityProvider
This cmdlet is used to delete an identity provider in the directory.
Syntax
Default (Default)
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.
In delegated scenarios using work or school accounts, the signed-in user must have a Microsoft Entra role or custom role with the necessary permissions. The following least privileged roles support this operation:
- External Identity Provider Administrator
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.
-IdentityProviderBaseIdparameter specifies the unique identifier of the identity provider.
Parameters
-IdentityProviderBaseId
The unique identifier for an identity provider.
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | Id |
Parameter sets
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
System.String
Outputs
System.Object
Related Links
Feedback
Was this page helpful?
