Remove-EntraTrustedCertificateAuthority
Removes a trusted certificate authority.
Syntax
Default (Default)
Remove-EntraTrustedCertificateAuthority
-CertificateAuthorityInformation <CertificateAuthorityInformation>
[<CommonParameters>]
Description
The Remove-EntraTrustedCertificateAuthority cmdlet removes a trusted certificate authority from Microsoft Entra ID.
Examples
Example 1: Remove the trusted certificate authorities that are defined in your directory
Connect-Entra -Scopes 'Organization.ReadWrite.All'
$cer = Get-EntraTrustedCertificateAuthority #Get the CertificateAuthorityInformation object
Remove-EntraTrustedCertificateAuthority -CertificateAuthorityInformation $cer[0]
Id
--
aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
This command deletes the trusted certificate authorities that are defined in your directory.
-CertificateAuthorityInformationParameter specifies a CertificateAuthorityInformation object. It includes properties likeAuthorityType,CrlDistributionPoint,DeltaCrlDistributionPoint, andTrustedCertificate.
Parameters
-CertificateAuthorityInformation
Specifies a CertificateAuthorityInformation object.
Parameter properties
| Type: | CertificateAuthorityInformation |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
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.