-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-Factor Authentication support #80
Comments
Hi Alex, sorry at the moment MFA is not supported. I'll look at it and put it on the backlog ;-). |
Actually you don't have to do anything specific for MFA support (at least for SharePoint Online):
|
@s-KaiNet - Yes, that would be an acceptable workaround. Thanks. |
@s-KaiNet thanks for that information. I did some searching and found the article on this from Microsoft. That should help out to get it up and running. Let me know if this works for you @alexlushsevernunival? Article on Microsoft docs: What are App Passwords in Azure Multi-Factor Authentication? |
@bramdejager - Yes I was aware of App Passwords and this does indeed work fine to log into the tool. Its just a clunky way of working that requires an extra step for the user during the login. Always better to natively support MFA in the app if possible in my opinion. |
please use PNP authentication Manager for your login. It will fix the multi factor authentication and your application will still function as it is not every environnements that allow App Password in their Azure. Alot of them consider it as a Security breach and is therefore not the best solution. https://gist.github.com/vman/37bab1e1d700be238011f1de23a3e275 |
MFA has become a must have for SharePoint programs nowadays. Other community tools like SharePoint Search Query Tool already allow MFA. Would be fantastic if you could add it. |
Along the same line as @hellriser4 and @MrTantum, some organization use group policy to turn off app password feature so the workaround doesn't work in that scenario. PNP authentication Manager seems to be the way to go for client side SharePoint development going forward. It would be fantastic if you can add MFA support to the tool. :) |
Unfortunately this work-around doesn't work on customer environments where you have a little less privileges. |
Hi @TazzyMan, can you try to use the authentication mode "Claims (AD FS)" and let me know if that works out for you? It does for me with my MFA account. Thx! |
Hello @bramdejager ,I Just tried. It shows some blank window (probably IE) and a few seconds later it shows a dialog: The remote server returned an error: (403) Forbidden. I know IE is used for interactive login and sometimes cookies are preserved, so it automatically tries to log you in with the latest user that was active, but I also tried using The SearchQueryTool and that seems to work better, even though 'Web login' fails eventually. But it DOES show the complete login dialog, including the MFA token/authorization. 'App Id' login works though but that seems to use some sort of ClientId (9bc3ab49-b65d-410a-85ad-de819febfddc). Don't know what that is |
Presume MFA is not currently supported (if it is then I can't log in using it). Can this be added?
The text was updated successfully, but these errors were encountered: