Search Query Tool Feature Suggestion: Allow login via credential manager (like PnP PowerShell)
heinrich-ulbricht opened this issue · comments
Since I'm using PnP PowerShell a lot I already have credentials for test/dev accounts stored in the Windows Credential Manager as the Connect-PnPOnline
cmdlet accepts those for authentication.
It would be really handy if I could choose "Credential Manager" as Authentication (Method). There I'd like to manually enter the identifier of the credentials I want to use.
...I'd like to use some of those credentials stored in the Credential Manager:
What do you think?
If someone PR's it, I will merge it. And shame on you for using classic auth 👍
I have a larger problem with the "authenticate using specific user account" selection - Integrated Windows Auth kicks in for me no matter which domain I use. Could we just add an additional field that shows with that choice that adds ?loginhint to the authentication URL? Retracted, see below
@joshtransient SharePoint Online (app) login doesn't work for you? It should prompt every time. I'll look at the possibility for loginhint.
That's my bad, retracted. I never tried "SharePoint Online (App Id)" because I assumed it was expecting a GUID from an Azure AD app or one registered with /_layouts/15/appregnew.aspx.
I might rename it (again) to something better.
Did a commit just now to make the web login work better on prompting. Not credential manager, which I think is a bad idea anyways as I hope more and more tenants disable classic auth.