Dear Team,
You cannot add a new ADFS server to an existing farm using Windows Internal Database (WID) if the original ADFS farm is using WID and you're selecting the "Add a federation server to a federation server farm" option. That option assumes a SQL Server-backed farm, not WID.
Explanation:
The error:
System.Data.SqlClient.SqlConnectionthrew an exception
...means the ADFS wizard is trying to connect to SQL Server, but your existing farm uses WID, which doesn't support adding secondary servers directly via that wizard.
Correct Steps to Join a New ADFS Server to a WID Farm:
Install ADFS role on the new server.
Use PowerShell, not the GUI wizard:
Install-AdfsFarmNode `
-PrimaryComputerName "YourPrimaryADFSHost.domain.com" `
-GroupServiceAccountIdentifier "domain\gmsa$"
PrimaryComputerName: The original ADFS server using WID.
GroupServiceAccountIdentifier: Your Group Managed Service Account.
⚠️ Do not use the SQL Server setup screen or "Specify Farm" UI path — that's only for SQL-backed ADFS farms.
Checklist to Ensure Success:
All ADFS servers must be on the same domain.
WID feature must be installed (Windows Internal Database feature).
The GMSA account must be allowed to log on as a service.
Firewall must allow TCP 80, 443, and 5985 (WinRM) between servers.
Reference:
- Microsoft Docs – Join ADFS Farm with WIDYou cannot add a new ADFS server to an existing farm using Windows Internal Database (WID) if the original ADFS farm is using WID and you're selecting the "Add a federation server to a federation server farm" option. That option assumes a SQL Server-backed farm, not WID. Explanation: The error:
System.Data.SqlClient.SqlConnectionthrew an exception
...means the ADFS wizard is trying to connect to SQL Server, but your existing farm uses WID, which doesn't support adding secondary servers directly via that wizard.
Correct Steps to Join a New ADFS Server to a WID Farm:
- Install ADFS role on the new server.
- Use PowerShell, not the GUI wizard:
Install-AdfsFarmNode `
-PrimaryComputerName "YourPrimaryADFSHost.domain.com" `
-GroupServiceAccountIdentifier "domain\gmsa$"
-
PrimaryComputerName: The original ADFS server using WID. -
GroupServiceAccountIdentifier: Your Group Managed Service Account.
Checklist to Ensure Success:⚠️ Do not use the SQL Server setup screen or "Specify Farm" UI path — that's only for SQL-backed ADFS farms.
- All ADFS servers must be on the same domain.
- WID feature must be installed (
Windows Internal Databasefeature). - The GMSA account must be allowed to log on as a service.
- Firewall must allow TCP 80, 443, and 5985 (WinRM) between servers. Reference:
Best Regards,