5
votes
Accepted
The sign-in name or password does not match one in the Microsoft account system
If you are using PnP powershell you can use the below code,
When using the Connect-PnPOnline cmdlet without any additional authentication parameters, we are prompted for username and password, which ...
4
votes
Accepted
Use App Password to Authenticate with PowerShell PnP
Yes.
You can use app password to authenticate SharePoint Online site using PowerShell PnP.
Hit below URL:
Connect-PnPOnline -Url https://contoso.sharepoint.com
It will open a pop-up like below where ...
3
votes
Accepted
Modern Authentication, do we need to change something in C# CSOM?
If Multi-factor authentication (MFA) is activated in your environment, this code will not work anymore. You have to use SharePointPnPCoreOnline: https://www.c-sharpcorner.com/blogs/using-csom-to-...
3
votes
The sign-in name or password does not match one in the Microsoft account system
You can use SharePoint Online Management Shell to connect with multi-factor authentication (MFA) SharePoint Site.
Follow below documentation:
To connect with multi-factor authentication (MFA).
OR
...
2
votes
The sign-in name or password does not match one in the Microsoft account system
I came across the same error today, when implementing an CSOM console app that would connect to my tenant.
Searching through the net, i came across multiple answers that pointed out tha MFA was the ...
2
votes
Accepted
How to enable MFA on PowerApp?
Yes, there is and it's quite simple actually.
You can configure Conditional Access with MFA to the specific application for the specific set of users as per your requirement. Read on https://docs....
1
vote
Accepted
When sharing a file with external user can we disable MFA
You could create a Conditional Access policy that makes internal users require MFA and external users does not require MFA.
Here are steps:
1.Go to Azure Active Directory admin center -> Protect&...
1
vote
Accepted
Connect-SPOService ... Error "The underlying connection was closed: An unexpected error occurred on a send"
You can use SharePoint Online Management Shell to connect with multi-factor authentication (MFA) enabled SharePoint site using below command:
Connect-SPOService -Url https://contoso-admin.sharepoint....
1
vote
Accepted
Connect-PnPOnline : AADSTS50126: Error validating credentials due to invalid username or password
MFA enabled account can not run in background and it must require interactive login.
In order to access SharePoint through app you will require certificate thumbprint that would not be feasible in ...
1
vote
Connect Sharepoint Online with MFA enabled giving 502 bad error
If MFA is enabled for account, you will only be able to access the resources through Interactive login.
MFA enabled account can not be use to run application in background or to run daemon app.
In ...
1
vote
Log into SharePoint tenant through CSOM with MFA enabled
I understand you want to switch to another user but authManager just grab and use the existing cache, which causes it auto login with existing account.
In fact the login window use IE as the web ...
1
vote
After implementing MFA - getting this error Sorry, this site hasn't been shared
You can try out the below troubleshooting:
Might be because of cached credentials from a prior browser session.
Try clearing IE cache: Open a new browser window >> Go to Internet
options >> In the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
multifactor-authentication × 19sharepoint-online × 11
authentication × 5
pnp-powershell × 4
sharepoint-server × 3
csom × 3
development × 2
powershell × 2
administration × 2
azure × 2
office-365 × 1
sharepoint-rest-api × 1
error × 1
sharepoint-on-prem × 1
forms-authentication × 1
2019 × 1
powerapp × 1
api × 1
windows-authentication × 1
external-users × 1
azure-ad × 1
office-dev-pnp × 1
chrome × 1
sso × 1
azure-functions × 1