Configure Automatic SharePoint Online Login with AD FS
Question details
Configure automatic authentication to SharePoint Online using federated Active Directory credentials.

- Product
- SharePoint Online and Active Directory Federation Services (AD FS)
- Device & OS
- not provided
- Scenario
- An organization wants users to open SharePoint Online in a browser and sign in using their Active Directory credentials.
- Observed behavior
- Users should reach SharePoint Online without a separate credential prompt when federation and integrated authentication are configured correctly. Attempts to create a working smart link have not succeeded.
Confirm that the user's Microsoft 365 sign-in domain is verified and federated with AD FS, and identify the AD FS sign-in URL. You will need access to the Microsoft 365 and AD FS administration settings and the browser policies used on client devices.
Configure AD FS federation and integrated browser authentication
Use this approach to enable automatic sign-in for users accessing SharePoint Online with a federated account.
A smart link can direct users to a sign-in flow, but it cannot establish single sign-on on its own. Federation, AD FS authentication, and the client browser configuration must work together.
In the Microsoft 365 admin center, open Settings > Domains and confirm that the user's sign-in domain is verified. In the Microsoft Entra admin center, review the domain's federation configuration and confirm that the user signs in with that domain.
On the AD FS server, open AD FS Management > Trust Relationships > Relying Party Trusts. Review the Microsoft 365 relying party trust and its claim issuance rules, and confirm that the federation endpoints and signing certificates match the Microsoft Entra configuration.
In AD FS Management, review Authentication Policies and confirm that Windows Integrated Authentication is enabled for the relevant access location. Ensure the client can reach the AD FS sign-in endpoint and has a suitable Active Directory session.
Use your organization's browser or Group Policy settings to allow integrated authentication for the AD FS hostname. On Windows, this may include adding the AD FS site to the Local intranet zone through Internet Options > Security; apply only the trusted sites required by your policy.
Open the organization's SharePoint Online site in a supported browser while signed in to the client with an Active Directory account. If prompted, use the federated Microsoft 365 account and review the resulting error along with AD FS and Microsoft Entra sign-in logs.

Work with Office documents in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface and support for common Microsoft Office formats, making it easier to move existing document workflows. It does not configure or repair SharePoint Online or AD FS single sign-on.

Frequently Asked Questions
Can a smart link enable SharePoint Online single sign-on by itself?
No. A smart link can direct users to a sign-in flow, but the Microsoft 365 domain, AD FS trust and claims, and browser authentication settings must already be configured correctly.
Why are users still prompted for credentials?
Check that they are using the federated sign-in domain, that Windows Integrated Authentication is enabled for their access location in AD FS Management, and that the browser permits integrated authentication for the AD FS hostname. Conditional Access or multifactor authentication can also require a prompt.
Where can I check the AD FS configuration for Microsoft 365?
On the AD FS server, open AD FS Management > Trust Relationships > Relying Party Trusts and review the Microsoft 365 trust and claim issuance rules. Also compare the federation endpoints and signing certificates with the Microsoft Entra configuration.
Does automatic sign-in always work outside the corporate network?
Not necessarily. External access depends on the organization's AD FS authentication policies, endpoint availability, browser configuration, and Conditional Access requirements. Additional authentication may be required.




