May 2019
Intermediate to advanced
620 pages
21h 41m
English
With the AD FS server role installed, we can use the PowerShell cmdlet to create the SQL scripts to create the databases on the SQL Server backend.
Use the following lines of PowerShell to install the AD FS server role in an elevated window:
New-Item "C:\ADFSSQLScript" -Type DirectoryExport-AdfsDeploymentSQLScript -DestinationFolder "C:\ADFSSQLScript" -ServiceAccountName LUCERNPUB\ADFSgMSA$
Change the values for the folder and the gMSA in the preceding lines of PowerShell.
This will create two files in the specified folder, as follows: