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
1 answer
15 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 ...
user avatar
  • 948
0 votes
1 answer
242 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 ...
user avatar
0 votes
1 answer
50 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 ...
user avatar
0 votes
1 answer
25 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 ...
user avatar
  • 193
0 votes
1 answer
169 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 ...
user avatar
0 votes
1 answer
125 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 ...
user avatar
0 votes
1 answer
517 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 ...
user avatar
  • 4,016
0 votes
1 answer
59 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-...
user avatar
1 vote
1 answer
3k 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 ...
user avatar
  • 1,591
1 vote
2 answers
2k 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....
user avatar
  • 41
1 vote
2 answers
54 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 ...
user avatar
0 votes
1 answer
135 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'...
user avatar
  • 165
5 votes
1 answer
3k 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 ...
user avatar
2 votes
3 answers
22k 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 ...
user avatar