Skip to content

Better example for reviewing certificate detail #2736

Open
@Mike-Crowley

Description

@Mike-Crowley

For "Example 2", Instead of generating a file which you then have to leave PowerShell to review, I suggest adding the following example to review the currently assigned certificate, expiration date, etc:

$CertInBase64 = New-AdfsAzureMfaTenantCertificate -TenantID <your tenant ID> 
[Security.Cryptography.X509Certificates.X509Certificate2]([System.Convert]::FromBase64String($CertInBase64))

This also applies to the example on Set-AdfsAzureMfaTenant / https://docs.microsoft.com/en-us/powershell/module/adfs/set-adfsazuremfatenant?view=windowsserver2019-ps

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

area-adfsIssues for adfs moduledoc-enhancementSuggested additions/improvements to the article, but there is no evidence the customer was blocked.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions