Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

PnP PowerShell MFA Issue - Set Access Request Email

I'm trying to set Access Request email as Site Owner for all site collections in our M365 tenant using PnP PowerShell command: Set-PnPRequestAccessEmails -Disabled:$false However I see that using ...
Manoj's user avatar
  • 1
0 votes
0 answers
113 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 ...
jazzchamp's user avatar
0 votes
1 answer
1k 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 ...
John John's user avatar
0 votes
1 answer
1k 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 ...
James Buckley's user avatar
2 votes
2 answers
360 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.
Furkan FIRAT's user avatar
0 votes
1 answer
857 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 ...
John John's user avatar
0 votes
1 answer
991 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 ...
hellothere's user avatar
0 votes
1 answer
496 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 ...
Ninad J's user avatar
0 votes
1 answer
39 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 ...
Maxcot's user avatar
  • 193
0 votes
1 answer
364 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 ...
Priyaranjan KS's user avatar
0 votes
1 answer
338 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 ...
oysterhoys's user avatar
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 ...
Mark L's user avatar
  • 4,065
0 votes
1 answer
131 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-...
Filippo Toso's user avatar
2 votes
1 answer
5k 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 ...
Gennady G's user avatar
  • 1,623
1 vote
2 answers
3k 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....
cescara's user avatar
  • 43
1 vote
2 answers
129 views

After implementing MFA - getting this error Sorry, this site hasn't been shared

I've a SharePoint 2016 environment, Currently i've implemented MFA in the site, suddenly after implementing the site, I'm getting this error. "sorry this site hasn't been shared with you" But, I'm ...
Jegan Baskaran's user avatar
0 votes
1 answer
165 views

SharePoint 2019 farms (VMs in Azure) in combination with Azure MFA - How to?

There are big question marks above my head regarding SharePoint 2019 and Azure MFA... We're running a three tier SharePoint Single Server Farm, each with a High Trust Provider Hosted App. After that'...
airliner's user avatar
  • 195
6 votes
1 answer
6k views

Use App Password to Authenticate with PowerShell PnP

Suppose you have a tenant with MFA enabled. The same tenant allows users to create private app passwords like on the screenshot below. Question: Is it possible to use this app password to ...
Denis Molodtsov's user avatar
2 votes
3 answers
33k views

The sign-in name or password does not match one in the Microsoft account system

When connecting to online site we have Microsoft authentication call to our phones and we will enter our pin for authenticating.Then only we can access the site. But in csom code when conencting to ...
Swetha's user avatar
  • 399