Remove-EntraTrustedCertificateAuthority

Tar bort en betrodd certifikatutfärdare.

Syntax

Default (Standard)

Remove-EntraTrustedCertificateAuthority

    -CertificateAuthorityInformation <CertificateAuthorityInformation>
    [<CommonParameters>]

Description

Cmdleten Remove-EntraTrustedCertificateAuthority tar bort en betrodd certifikatutfärdare från Microsoft Entra ID.

Exempel

Exempel 1: Ta bort de betrodda certifikatutfärdare som har definierats i din katalog

Connect-Entra -Scopes 'Organization.ReadWrite.All'
$cer = Get-EntraTrustedCertificateAuthority #Get the CertificateAuthorityInformation object
Remove-EntraTrustedCertificateAuthority -CertificateAuthorityInformation $cer[0]
Id
--
aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb

Det här kommandot tar bort de betrodda certifikatutfärdare som har definierats i din katalog.

  • -CertificateAuthorityInformation Parametern anger ett CertificateAuthorityInformation-objekt. Den innehåller egenskaper som AuthorityType, CrlDistributionPoint, DeltaCrlDistributionPointoch TrustedCertificate.

Parametrar

-CertificateAuthorityInformation

Anger ett CertificateAuthorityInformation-objekt.

Parameteregenskaper

Typ:CertificateAuthorityInformation
Standardvärde:None
Stöder jokertecken:False
DontShow:False

Parameteruppsättningar

(All)
Position:Named
Obligatorisk:True
Värde från pipeline:True
Värde från pipeline efter egenskapsnamn:True
Värde från återstående argument:False

CommonParameters

Den här cmdleten stöder vanliga parametrar: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction och -WarningVariable. Mer information finns i about_CommonParameters.