We encountered an unexpected behavior yesterday on a clients tenant where if we appended ?k= and any search query after that it would redirect to /_layouts/15/osssearchresults.aspx page when it shouldn't.

We are currently investigating what has changed on the tenant, since this behavior cannot be reproduced on other tenants.

We tried comparing Search settings, but no difference.

Is there a setting or something else we are missing?

1 Answer 1


By comparing network requests it was identified that the client had added and loaded a custom script on the impacted tenant, which was to blame for the re-direct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.