Open
Description
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.
- ID: 3a4fa05f-5646-76a9-c793-65729f957df5
- Version Independent ID: cfefffa6-78f0-124b-d91d-95f0bbecfa98
- Content: New-AdfsAzureMfaTenantCertificate (ADFS)
- Content Source: docset/winserver2019-ps/adfs/New-AdfsAzureMfaTenantCertificate.md
- Product: w10
- Technology: windows
- GitHub Login: @JasonGerend
- Microsoft Alias: jgerend