Forum Discussion
AB21805
Mar 14, 2023Bronze Contributor
The sign in name or password does not match
Hi all, I keep getting: The script I am using is: What I am trying to do is create folders which have specific permissions. I have users a CSV which contains 3 title...
ganeshsanap
Mar 14, 2023MVP
AB21805 Which version of SharePoint are you using? Is MFA enabled for user account you are using to run this PowerShell?
If you are using SharePoint online and Multi factor authentication (MFA) is enabled for the user account, try using app password instead of normal password for authentication.
Check below threads:
- Connect-SPOService : The sign-in name or password does not match one in the Microsoft account system
- Use App Password to Authenticate with PowerShell PnP
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs