Office 365 authentication prompt when opening documents

In our environment we are using Office 365, we configured ADFS / ADFS Proxies / and Dirsync to manage SSO.

We have constructed smart links to ensure users are automatically signed into SharePoint when using their work laptop and Internet Explorer – if they are using a difference device / browser then they are directed to the corporate login page.

We experienced an issue where customers would be requested to sign into Word / Excel / PowerPoint when opening files directly from SharePoint.

This was resolved my modifying the smart links to contain 

LoginOptions%3D1

 

Example smart link:

https://sts.contoso.com/adfs/ls/?wa=wsignin1.0&wtrealm=urn:federation:MicrosoftOnline&wctx=MEST%3D0%26LoginOptions%3D1%26wa%3Dwsignin1.0%26rpsnv%3D2%26ver%3D6.1.6206.0%26wp%3DMCMBI%26wreply%3Dhttps:%252F%252Fportal.microsoftonline.com%252FDefault.aspx%26lc%3D1033%26id%3D271345

more info on smart links

http://community.office365.com/en-us/w/sso/using-smart-links-or-idp-initiated-authentication-with-office-365.aspx
Advertisements