Skip to content

Commit 5193ddd

Browse files
authored
Update New-AdfsAzureMfaTenantCertificate.md
Made changes reflecting what we did with https://docs.microsoft.com/en-us/powershell/module/adfs/set-adfsazuremfatenant?view=windowsserver2019-ps
1 parent e8ff220 commit 5193ddd

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
@@ -47,8 +47,7 @@ These commands create a certificate for Azure MFA, register the certificate in a
4747
### Example 2: Determine which certificate Azure MFA is using
4848
```
4949
$CertInBase64 = New-AdfsAzureMfaTenantCertificate -TenantID
50-
$cert = Security.Cryptography.X509Certificates.X509Certificate2
51-
$cert | Format-List *
50+
[Security.Cryptography.X509Certificates.X509Certificate2]([System.Convert]::FromBase64String($CertInBase64))
5251
```
5352

5453
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)