Questions tagged [multifactor-authentication]
Every new Office 365 for business or Microsoft 365 Business subscription will automatically have security defaults turned on. This means that every user will have to set up multi-factor authentication (MFA) and install the Authenticator app on their mobile device.
19 questions
0
votes
0
answers
24
views
How to authenticate with C# to a Sharepoint website that uses MFA?
I want to list folders and files under a Sharepoint directory using C#.
The website uses MFA authentication.
What is the current best way to do it?
2
votes
0
answers
3k
views
External Microsoft users in Azure stuck in login loop when attempting to access SharePoint site
For the past 6 weeks or so we’ve had an issue with External users getting stuck in an MFA loop. At first, it appeared to be users that had a Microsoft account (Outlook.com or Hotmail.com). Then it was ...
0
votes
1
answer
2k
views
When sharing a file with external user can we disable MFA
We have a SharePoint site collection which allow sharing with existing and new external users.
now we share a file with the eternal user as follow:-
where the external user will get this email with a ...
0
votes
1
answer
2k
views
Re-using PnP context to get all lists in a subsite
I'm working with an account that has MFA set up and I'm trying to write a script to get me all the lists within a SharePoint Online site and its subsites.
The code works fine in the top-level site ...
2
votes
2
answers
567
views
SharePoint 2019 cannot credential on Chrome 80+ versions [closed]
I have a SharePoint 2019 single farm. I did cumulative updated until July 2022 CU.
After then occurred this issue. I am using windows and form base authentication.
0
votes
1
answer
1k
views
Connect-SPOService ... Error "The underlying connection was closed: An unexpected error occurred on a send"
I want to connect to SharePoint online SharePoint admin center using this code:
Connect-SPOService -url $TenantAdminUrl -Credential $SPCredential
but I keep getting this error:
Message: The ...
0
votes
1
answer
1k
views
Connect-PnPOnline : AADSTS50126: Error validating credentials due to invalid username or password
I have multi-factor authentication activated for my SharePoint Tenant. I am trying to connect to one of a site via release pipeline in Azure DevOps. I googled a bit and found that it might be possible ...
0
votes
1
answer
552
views
Connect Sharepoint Online with MFA enabled giving 502 bad error
I have created an azure function in Visual studio which is used to check if the logged in user has a permission to SharePoint, my problem is when the user has MFA enabled I get message that "The ...
0
votes
1
answer
91
views
What is the most efficient, quickest, lightest way to check if a SharePoint list exists in a SSO/MFA environment?
Something that retrieves the whole list is the worst answer.
Something that comes back with a binary true would be the best.
The only way I can see how to do it currently involves pulling back masses ...
0
votes
1
answer
407
views
Azure AD MFA for SharePoint Server Sites
We have a customer who has a SharePoint Server 2019 installation in Azure VM which is domain joined to Azure AD. There is no Windows AD present. As per new security rules, they are trying to enable ...
0
votes
1
answer
384
views
Modern authentication and unattended
If Modern Authentication is enabled for SharePoint and MFA is not enabled for the used account, is it still possible to use user/pass credentials in an unattended Powershell script, or is it always ...
0
votes
1
answer
2k
views
How to enable MFA on PowerApp?
I have built some simple PowerApps (not portal) and works fine on Android and iPhone. But I am not sure how to enable MFA on PowerApp. Is there any official document available? I can only find ...
0
votes
1
answer
161
views
SharePoint Online Active Authentication with Two Factor Authentication
Is there a way to make the implementation suggested by Vitaly Lyamin, working with Two Factor Authentication?
https://docs.microsoft.com/it-it/archive/blogs/sharepointdevelopersupport/sharepoint-...
2
votes
1
answer
6k
views
Modern Authentication, do we need to change something in C# CSOM?
I heard that MS will use only "modern authentication" later. We have some apps on our servers that connect to SharePoint Online and use CSOM. Will this code-snippet continue to work, or we ...
1
vote
2
answers
4k
views
Log into SharePoint tenant through CSOM with MFA enabled
I need to log into a SharePoint tenant using an admin account that uses MFA.
This is the code.
var authManager = new OfficeDevPnP.Core.AuthenticationManager();
var context = authManager....