On-Premise Preview error using SharePoint Hybrid Search

%3CLINGO-SUB%20id%3D%22lingo-sub-1706432%22%20slang%3D%22en-US%22%3EOn-Premise%20Preview%20error%20using%20SharePoint%20Hybrid%20Search%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1706432%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20configured%20Hybrid%20Search%20between%20a%20SharePoint%202013%20Farm%20with%20an%20OWA%20server%20and%20O365.%3C%2FP%3E%3CP%3EThe%20search%20results%20from%20on-premise%20appear%20fine%20in%20O365%20search%20but%20the%20Preview%20is%20not%20working.%3C%2FP%3E%3CP%3EThe%20preview%20URL%20is%20structured%20as%3A%20URLToSite%2F_Layouts%2F15%2FWopiFrame.aspx%3Fsourcedoc..etc.%3C%2FP%3E%3CP%3EIf%20you%20enter%20this%20URL%20directly%20into%20the%20browser%20it%20works%20fine%20and%20the%20Preview%20image%20is%20returned.%3C%2FP%3E%3CP%3EOn%20the%20search%20results%20page%20in%20O365%20we%20just%20see%20a%20broken%20link.%3C%2FP%3E%3CP%3ELooking%20at%20a%20Fiddler%20session%20(not%20that%20I%20know%20much%20about%20interpreting%20these%20results)%20I%20can%20see%20a%20call%20to%20the%20above%20URL%20to%20get%20the%20preview%20which%20returns%20a%20302%20which%20seems%20to%20be%20followed%20by%20another%20302%20to%20the%20same%20Url%20followed%20by%20a%20401%20from%20the%20OWA%20server%2C%20the%20call%20is%20to%20OWAUrl%2Fwv%2FWordPreviewHandler.ashx%3Fetc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20SharePoint%20on-premise%20site%20is%20running%20in%20a%20Claims%20app%20using%20NTLM.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyone%20have%20any%20ideas%20where%20I%20can%20start%20looking%20for%20the%20cause%20of%20the%20401%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1706432%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2013%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ehybrid%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Frequent Visitor

Hi,

 

We have configured Hybrid Search between a SharePoint 2013 Farm with an OWA server and O365.

The search results from on-premise appear fine in O365 search but the Preview is not working.

The preview URL is structured as: URLToSite/_Layouts/15/WopiFrame.aspx?sourcedoc..etc.

If you enter this URL directly into the browser it works fine and the Preview image is returned.

On the search results page in O365 we just see a broken link.

Looking at a Fiddler session (not that I know much about interpreting these results) I can see a call to the above URL to get the preview which returns a 302 which seems to be followed by another 302 to the same Url followed by a 401 from the OWA server, the call is to OWAUrl/wv/WordPreviewHandler.ashx?etc.

 

The SharePoint on-premise site is running in a Claims app using NTLM.

 

Anyone have any ideas where I can start looking for the cause of the 401? 

 

Thanks.

 

0 Replies