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

SharePoint 2013 Search (Office 365)

I was hunting for information on query suggestions for Office 365….query suggestions are handled in two ways:

1: You can upload your own query suggestions through the admin portal

2: SharePoint will dynamical build a list of query suggestions based on previous searches and click throughs:

SharePoint automatically creates a query suggestion when users have clicked a search result for a query at least six times. For example, if users have entered the query word “coffee” and then clicked on a search result six times, then “coffee” automatically becomes a query suggestion.

Source:

http://blogs.technet.com/b/tothesharepoint/archive/2013/12/05/create-and-import-query-suggestions-in-sharepoint-2013.aspx

 

Remove accounts from people search

Recently came across an issue where there were 3 “David Hendry’s” appearing within people search on SharePoint 2013 / Office 365.  So if a user searched for me, they would see 3 ‘identical’ people to choose from.

The accounts were:

* My main domain account
* My domain admin account
* My cloud admin account

The requirement was to hide cloud admin and domain admin accounts from the search results.

The resolution was to edit the People Search Core Results web part…

I modified the query (shown below) to include the domain name for internal accounts, remove any accounts containing adm_ and onmicrosoft.com.  

query