spgo icon indicating copy to clipboard operation
spgo copied to clipboard

Unable to authenticate using app password

Open Rich999dev opened this issue 2 years ago • 2 comments

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
  1. Use SPGo "configure workspace" command
  2. Select "Digest" authentication
  3. 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

Rich999dev avatar Jun 28 '22 11:06 Rich999dev

I have the same problem

luizlima86 avatar Jul 01 '22 21:07 luizlima86

I am having the same problem.

WeatherfordDigital avatar Dec 20 '22 19:12 WeatherfordDigital