Sign-in & Login Problems

Configure a Public AD FS Namespace for Microsoft 365 Single Sign-On

Elise WilliamsElise Williams Nov 27, 2026 869 views

Question details

Configure an externally reachable AD FS service name for Microsoft 365 single sign-on.

Configure a Public AD FS Namespace for Microsoft 365 Single Sign-On
Product
Microsoft 365 and Active Directory Federation Services (AD FS)
Device & OS
not provided
Scenario
External Microsoft 365 users are redirected to an AD FS service that currently uses an internal .local namespace.
Observed behavior
The .local AD FS service name cannot be resolved from the Internet, preventing external users from reaching the sign-in service.
Before you start

Identify the current AD FS service name, the public domain you control, and the external IP address used by the AD FS proxy load balancer. Check that you can manage public DNS, NAT, certificates, and Microsoft 365 federation settings.

Solution 1Recommended

Use a Public AD FS Service Name for External Sign-Ins

Use a name under a public domain you control so Microsoft 365 users can reach AD FS from the Internet.

For example, use sts.frankloft.com as the federation service name instead of sts.crest.local. The AD FS servers can remain joined to the internal .local Active Directory domain.

Changing the service name of an existing AD FS deployment requires a planned migration or reconfiguration of the farm and its federation settings; creating a DNS record alone does not change the name Microsoft 365 uses.

1
Choose a public service name

In your public DNS provider's management console, select a name under a domain you control, such as sts.frankloft.com. Confirm the intended federation service name in AD FS Management before planning the change.

2
Create the public DNS record

In the public DNS zone for your domain, create an A record for the AD FS name that points to the external IP address used for the proxy load balancer.

3
Route HTTPS to the proxies

In the firewall or NAT configuration, forward inbound TCP port 443 from the public IP address to the AD FS proxy load balancer. Ensure the proxies can reach the AD FS servers on the internal network.

4
Configure a matching certificate

Obtain a trusted TLS certificate whose subject or subject alternative name includes the public AD FS name. Configure the certificate for the AD FS service and its proxies as required by your deployment.

5
Update federation and test

Follow Microsoft's supported AD FS migration and Microsoft 365 federation configuration guidance for the new service name. After the change, check public DNS resolution and attempt a Microsoft 365 sign-in from a network outside the corporate environment.

Use a Public AD FS Service Name for External Sign-Ins
Plan the namespace change: The public DNS record, certificate, proxy configuration, AD FS service name, and Microsoft 365 federation settings must agree. Coordinate the change to avoid disrupting existing sign-ins.
Free Microsoft Office alternative

Work with Office Files Using WPS Office

WPS Office is a free, lightweight alternative with a familiar interface and compatibility with Microsoft Office formats, making it easier to move existing documents into your workflow. It does not fix Microsoft 365 AD FS or federation configuration.

Open and edit Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse familiar document, spreadsheet, and presentation toolsWork with local Office files while an administrator resolves the AD FS sign-in issueMove existing Office files into a lightweight productivity suite
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I use a .local AD FS name for external sign-ins?

A .local name is intended for local networks and is not a publicly resolvable Internet domain. Microsoft 365 redirects users to the configured AD FS service name, so external users need a publicly resolvable name such as sts.frankloft.com.

Can my AD FS servers remain in an internal .local domain?

Yes. The servers can remain joined to the internal Active Directory domain while the AD FS federation service uses a name under a public domain you control.

Will creating a public DNS record alone fix the sign-in problem?

No. The configured AD FS service name and Microsoft 365 federation settings must use the public name, and DNS, HTTPS routing, proxy configuration, and the certificate must support that name.

What should the public AD FS DNS record point to?

Create an A record for the public AD FS name in your DNS provider's console and point it to the external IP address that routes HTTPS traffic to the AD FS proxy load balancer.