Skip to Content
Mastering Active Directory
book

Mastering Active Directory

by Dishan Francis
June 2017
Beginner to intermediate
742 pages
18h 29m
English
Packt Publishing
Content preview from Mastering Active Directory

Creating a certificate in an AD FS farm to connect to Azure MFA

As the first step, we need to create a certificate, which will be used by the AD FS farm and Azure MFA to connect. This needs to run from the AD FS server:

$certbase64 = New-AdfsAzureMfaTenantCertificate -TenantID 05c6f80c-61d9-44df-bd2d-4414a983c1d4

The preceding command will generate the new certificate. TenantID is the subscription ID you have from Azure. This can be found out by running this:

Login-AzureRmAccount

It will ask for the credentials for Azure and once we provide them, it will list down the Tenant ID:

This will create a certificate under Local Computer:

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Active Directory

Mastering Active Directory

Dishan Francis
Active Directory, 5th Edition

Active Directory, 5th Edition

Brian Desmond, Joe Richards, Robbie Allen, Alistair G. Lowe-Norris

Publisher Resources

ISBN: 9781787289352Supplemental Content