Skip to content

Commit 75ec513

Browse files
authored
Merge pull request MicrosoftDocs#3098 from msbemba/patch-139
Update New-AdfsAzureMfaTenantCertificate.md
2 parents 76ed42c + 1e2660c commit 75ec513

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docset/winserver2019-ps/adfs/New-AdfsAzureMfaTenantCertificate.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ These commands create a certificate for Azure MFA, register the certificate in a
4848
### Example 2: Determine which certificate Azure MFA is using
4949
```
5050
$CertInBase64 = New-AdfsAzureMfaTenantCertificate -TenantID
51-
$cert = Security.Cryptography.X509Certificates.X509Certificate2
52-
$cert | Format-List *
51+
[Security.Cryptography.X509Certificates.X509Certificate2]([System.Convert]::FromBase64String($CertInBase64))
5352
```
5453

5554
After AD FS has been configured for Azure MFA, this command determines which certificate Azure MFA is using and when it expires.

0 commit comments

Comments
 (0)