File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
docset/winserver2019-ps/adfs Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,13 @@ PS C:\> Set-AdfsAzureMfaTenant -TenantId <your tenant ID> -ClientId 981f26a1-7f4
3333
3434This 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
You can’t perform that action at this time.
0 commit comments