pnp / PnP-Tools

Scripts and tools for Office 365 and SharePoint - More for IT Pro's

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Search Query tool cannot sign in to SPO (The page does not support Internet Explorer releases older than version 10)

rudfoss opened this issue · comments

I'm trying to use the Search Query Tool with SharePoint Online to debug some search queries, but I'm unable to sign in using Authenticate using specific user account and SharePoint Online (web login). I can click the Sign-in button and enter my credentials, but once I do I'm only returned to an error page that tells me "The page does not support Internet Explorer releases older than version 10."

spsearch-query-tool-sign-in-error

Am I wrong in assuming this should work?

Edit: I seem to be able to sign in using App ID.

Web login is a pita as it relies on the web browser control via IE, so I highly recommend using SharePoint Online (App Id) as the login method. Does this help?

@wobba Yup, App id login works so I'll just use that. Just curious why it seemd to default to something that is older than IE 10?

Beats me. It's the .Net web browser control which pulls in an IE ActiveX control. My guess is it picks IE11 if you have Win10, and the error message is just wrong :)

The other issue with web login is if you log in to different tenants, as there is no way to ignore cached credentials in the control (it worked up until some Win10 release). I did remove the option at one time, but added it on request.

@wobba Ok, I'm perfectly happy with the App Id solution so I'm fine with closing this. Thanks for the quick reply.

I would suggest removing the old login method then as the AppId workaround works the exact same way for the end user.

@SabbeRubbish I did that in some version back, and people complained, so I brought it back. I use the weblogin myself for the Microsoft tenant, as it works perfect for domain joined PC's using that one tenant. Saves you from entering the credentials every time ;)

Then maybe somehow hint the user in the UI which one to use :-)
Because now it sounds like the AppId requires an app registration, clientId/clientSecret, but it's actually just a different approach to interactive login.
Anyway, just a suggestion :)

I'll reword the button text ;) (again)

Added this, which will enter the next version whenever that will be released :)
image

@SabbeRubbish Added a change which I think will allow web login to work better :)