chrishasz / spgo

SPGo: A Lightweight, Open Source, SharePoint IDE for Visual Studio Code
https://www.chrishasz.com/spgo
MIT License
60 stars 11 forks source link

Unable to authenticate using app password #160

Open Rich999dev opened 2 years ago

Rich999dev commented 2 years ago

Note: for support questions, please use stackoverflow and tag the post with #spgo.

Invalid user credentials. Please reset your credentials via the command menu and try again

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/**/*.*"
    ]
}
  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)

luizlima86 commented 2 years ago

I have the same problem

WeatherfordDigital commented 1 year ago

I am having the same problem.