Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to authenticate using app password #160

Open
1 of 2 tasks
Rich999dev opened this issue Jun 28, 2022 · 2 comments
Open
1 of 2 tasks

Unable to authenticate using app password #160

Rich999dev opened this issue Jun 28, 2022 · 2 comments
Assignees
Labels

Comments

@Rich999dev
Copy link

Rich999dev commented Jun 28, 2022

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

  • I'm submitting a ...

    • 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
@luizlima86
Copy link

I have the same problem

@WeatherfordDigital
Copy link

I am having the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants