Skip to content

Commit d73aa57

Browse files
authored
Update New-AdfsAzureMfaTenantCertificate.md
Made change per suggestion
1 parent 21c8eca commit d73aa57

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ These commands create a certificate for Azure MFA, register the certificate in a
4646
4747
### Example 2: Determine which certificate Azure MFA is using
4848
```
49-
$CertInBase64 = New-AdfsAzureMfaTenantCertificate -TenantID <your tenant ID>
50-
[Security.Cryptography.X509Certificates.X509Certificate2]([System.Convert]::FromBase64String($CertInBase64))
49+
$CertInBase64 = New-AdfsAzureMfaTenantCertificate -TenantID
50+
$cert = Security.Cryptography.X509Certificates.X509Certificate2
51+
$cert | Format-List *
5152
```
5253

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