spgo
spgo copied to clipboard
Unable to authenticate using app password
Note: for support questions, please use stackoverflow and tag the post with #spgo.
-
I'm submitting a ...
- [x] bug report
- [ ] feature request
-
What is the current behavior? Unable to authenticate using M365 account with app password. Keep getting error:
Invalid user credentials. Please reset your credentials via the command menu and try again
- If the current behavior is a bug, please
spgo.json file:
{
"sourceDirectory": "src",
"sharePointSiteUrl": "https://xxxx.sharepoint.com",
"workspaceRoot": "c:\\DEV-LOCAL\\SharePoint\\xxxx.sharepoint.com",
"publishWorkspaceOptions": {
"destinationFolder": "/",
"globPattern": "c:\\DEV-LOCAL\\SharePoint\\xxxx.sharepoint.com\\src\\**\\*.*",
"localRoot": "c:\\DEV-LOCAL\\SharePoint\\xxxx.sharepoint.com\\src"
},
"publishingScope": "SaveOnly",
"authenticationType": "Digest",
"remoteFolders":[
"Pages/**/*.*"
]
}
- Steps to reproduce
- Use SPGo "configure workspace" command
- Select "Digest" authentication
- When prompted, enter credentials M365 account name and use the "app password" for password
(Also an issue when subsequently using the SPGo "reset credentials" or "populate local workspace" commands)
-
What is the expected behavior? Successful authentication Able to then use the extension to work with SharePoint Online sites.
-
Please tell us about your environment:
- VSCode version: 1.68.1
- SPGo version: 1.7.3
- Windows 10 v10.0.19044
- SharePoint Online
- Authentication Type: Digest
- M365 tenant configured with MFA. App password generated, but not working when used in the SPGo extension
I have the same problem
I am having the same problem.