Move Office 365 Federation from AD FS 2.0 to AD FS 3.0 with a New URL
Question details
Determine what must change in Office 365 when migrating from AD FS 2.0 to AD FS 3.0 with a new federation service URL.

- Product
- Microsoft 365 (Office 365) and Active Directory Federation Services (AD FS)
- Device & OS
- not provided
- Scenario
- An administrator is moving a federated domain to a new AD FS deployment with a different federation service URL.
- Observed behavior
- The administrator needs the federated domain and its relying-party trusts to recognize the new service and continue authenticating users.
Inventory the federated domains, existing AD FS endpoints, certificates, and relying-party trusts before planning the cutover. Confirm that the new federation name has the required DNS, TLS certificate, and external access; AD FS 3.0 is a legacy version, so review current Microsoft support guidance before deploying it.
Prepare the new AD FS farm and update Office 365 federation
Use this approach when the federation service name and endpoints are changing as part of the migration.
Changing the URL affects both the AD FS deployment and the federated domain configuration in Microsoft Entra ID. Updating the AD FS server alone does not automatically update the cloud-side issuer and sign-in endpoints.
A domain that is already federated does not necessarily need to be converted back to managed and federated again. Plan an update to its existing federation configuration and a coordinated cutover instead.
Install the AD FS server role on the new server and use the AD FS Configuration Wizard to configure the new federation service name and certificate. Configure external access, such as Web Application Proxy, if users sign in from outside the network.
Use Microsoft Entra Connect's federation configuration workflow, where applicable, to configure the trust between the AD FS farm and Microsoft Entra ID. In AD FS Management, check Relying Party Trusts for the Microsoft 365 trust.
In the Microsoft Entra admin center, review the domain under Identity > Custom domain names. Update the existing federation configuration using the supported Microsoft Entra Connect workflow or Microsoft Graph federation configuration guidance, ensuring the issuer and applicable sign-in, sign-out, and metadata endpoints match the new service.
Open the new federation metadata endpoint in a browser, then test Microsoft 365 sign-in with a federated account from inside and outside the network. Check AD FS event logs and Microsoft Entra sign-in logs if authentication fails.

Review other relying-party trusts for the new AD FS service
Use this check for applications other than Microsoft 365 that rely on the old federation service.
Work with Office documents in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface and compatibility with common Microsoft Office formats, making it easier to continue working with existing documents. It does not update Microsoft 365 federation settings or repair AD FS sign-in.

Frequently Asked Questions
Do I have to federate the domain again after changing the AD FS URL?
Not necessarily. An existing federated domain can generally have its federation configuration updated. Review the domain under Identity > Custom domain names in the Microsoft Entra admin center and use current Microsoft guidance for the cutover.
Which federation settings can change with the new service URL?
The issuer identifier and applicable sign-in, sign-out, and metadata endpoints may change. Review the federated domain configuration in Microsoft Entra ID and ensure it matches the new AD FS service.
Will the Office 365 relying-party trust update itself?
Do not assume it will. Use the applicable Microsoft Entra Connect federation workflow and check the Microsoft 365 trust under Relying Party Trusts in AD FS Management.
What should I check if users cannot sign in after the migration?
Test access to the new federation endpoint, verify DNS and certificates, and check the issuer and endpoint settings. Review Microsoft Entra sign-in logs and AD FS event logs for the affected account.
Do other applications need changes when the federation URL changes?
Possibly. Check each application's SSO settings for references to the old metadata URL, issuer, endpoints, or signing certificates, and follow the application's trust-update procedure.




