Migrate AD FS 2.0 to AD FS 3.0 with Office 365 Federation
Question details
Understand how to migrate an AD FS 2.0 farm to AD FS 3.0 while maintaining Office 365 federation.

- Product
- AD FS 2.0, AD FS 3.0, and Microsoft 365 federation
- Device & OS
- not provided
- Scenario
- An administrator plans to replace an AD FS 2.0 farm that authenticates users for a federated Office 365 domain.
- Observed behavior
- The goal is to move the federation configuration to the new farm and preserve user access to Office 365 and other relying-party applications.
Inventory the existing federation settings, relying-party trusts, certificates, claims rules, service accounts, and DNS endpoints. Review Microsoft's current migration and support guidance: AD FS 2.0 and 3.0 are legacy versions, so assess a supported destination before proceeding.
Deploy and validate the new AD FS farm before cutover
Use a planned transition to move federation settings and test authentication before retiring the old farm.
Keeping the same federated domain does not by itself guarantee a seamless cutover. The Microsoft Entra ID federation configuration must match the new farm's issuer, endpoints, and signing certificates.
Deploy the new AD FS farm using the applicable Microsoft migration guidance. Configure its service account, federation service name, TLS certificate, and any required proxy infrastructure.
Use the AD FS Management console and the migration guidance to transfer or recreate relying-party trusts, claims rules, certificates, and other required settings. Include the Microsoft 365 trust and each application that relies on the old farm.
In the Microsoft Entra admin center or through the supported Microsoft Graph federation management tools, compare the domain's federation configuration with the new farm's issuer, sign-in endpoints, and token-signing certificates. Update the configuration using Microsoft's current guidance if the values must change.
During a planned transition, update the relevant DNS or load-balancer routing to the new farm. Test Microsoft 365 sign-in and sign-out, external access, claims, and every relying-party application; retain a documented rollback path.
After successful validation and the agreed monitoring period, use the server management tools to decommission the old farm and remove obsolete routing only when it is no longer needed.

Keep working with Office files using WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility for an easier transition. It does not migrate AD FS or repair Microsoft 365 federation.

Frequently Asked Questions
Do users need to be converted to managed authentication before the migration?
Normally, no. Users can remain federated if the new farm and Microsoft Entra ID federation configuration are correctly aligned. Test sign-in before and after changing the traffic route.
Do I need to run Update-MSOLFederatedDomain after upgrading?
Not necessarily. Check whether the issuer, endpoints, and signing certificates in the Microsoft Entra ID federation configuration match the new farm. The MSOnline module is retired; if an update is needed, follow Microsoft's current guidance for supported federation management tools.
What should I test before decommissioning the old farm?
Test Microsoft 365 sign-in and sign-out, external access, certificate validity, claims, and every relying-party application. Review the AD FS Management console and authentication logs for errors during the transition.
Is AD FS 3.0 still a suitable migration destination?
AD FS 3.0 is a legacy version. Review Microsoft's current product lifecycle and migration guidance, and assess a supported destination before committing to the upgrade.




