Skip to content

Commit cc82f5f

Browse files
authored
Update Set-AdfsAzureMfaTenant.md
Updated Set-AdfsAzureMfaTenant 2019version
1 parent 3d7d7e6 commit cc82f5f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docset/winserver2019-ps/adfs/Set-AdfsAzureMfaTenant.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ PS C:\> Set-AdfsAzureMfaTenant -TenantId <your tenant ID> -ClientId 981f26a1-7f4
3333

3434
This command creates a certificate for Azure MFA, registers it in the tenant, and enables Azure MFA on the AD FS farm.
3535

36-
### Example 2: Determine the Azure MFA certificate
36+
### Example 2: Determine which certificate Azure MFA is using
3737
```
38-
PS C:\> New-AdfsAzureMfaTenantCertificate -TenantID <your tenant ID> -out-file amfacert.cer
38+
$CertInBase64 = New-AdfsAzureMfaTenantCertificate -TenantID <your tenant ID>
39+
[Security.Cryptography.X509Certificates.X509Certificate2]([System.Convert]::FromBase64String($CertInBase64))
3940
```
4041

41-
This command determines which certificate Azure MFA is using, after AD FS has been configured for Azure MFA using the previous example.
42+
After AD FS has been configured for Azure MFA, this command determines which certificate Azure MFA is using and when it expires.
4243

4344
## PARAMETERS
4445

0 commit comments

Comments
 (0)