Set-EntraTrustedCertificateAuthority

Updates a trusted certificate authority.

Syntax

Set-EntraTrustedCertificateAuthority
   -CertificateAuthorityInformation <CertificateAuthorityInformation>

Description

The Set-EntraTrustedCertificateAuthority cmdlet updates a trusted certificate authority in Microsoft Entra ID.

Examples

Example 1: Updates the trusted certificate authorities that are defined in your directory

Connect-Entra -Scopes 'Organization.ReadWrite.All'
$cer = Get-EntraTrustedCertificateAuthority #Get the CertificateAuthorityInformation object
$cer[0].CrlDistributionPoint = "https://example.crl"
Set-EntraTrustedCertificateAuthority -CertificateAuthorityInformation $cer[0]

Id
--
aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb

This command updates the trusted certificate authorities that are defined in your directory.

  • -CertificateAuthorityInformation Parameter specifies a CertificateAuthorityInformation object.

Parameters

-CertificateAuthorityInformation

Specifies a CertificateAuthorityInformation object.

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