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

spgo NTLM  invalid user credentials #148

Open
2 tasks
onlyawt opened this issue May 31, 2021 · 3 comments
Open
2 tasks

spgo NTLM  invalid user credentials #148

onlyawt opened this issue May 31, 2021 · 3 comments
Assignees
Labels

Comments

@onlyawt
Copy link

onlyawt commented May 31, 2021

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

  • I'm submitting a ...
    0

I´m having some trouble when trying to retrieve a remote folder from sharepoint so that I can use it in vs code. Configuring the workspace went fine, but when I use command "SPGo:Retrieve folder", it asks me for sharepoint username and password. apparently, both inputs are correct, but it keeps showing me the error "Invalid user credentials. Please reset your credentials via the command menu and try again". Here are some information I think might be useful/necessary for solving this problem: (feel free to ask for more info if needed)

  • bug report

  • feature request

  • What is the current behavior?

  • If the current behavior is a bug, please

    • Your spgo.json file (You may replace corporate PII with "xxx")
    • {
      "sourceDirectory": "src",
      "sharePointSiteUrl": "https://**..",
      "workspaceRoot": "c:\sp",
      "publishWorkspaceOptions": {
      "destinationFolder": "/",
      "globPattern": "c:\sp\src\**\
      .
      ",
      "localRoot": "c:\sp\src"
      },
      "publishingScope": "Major",
      "authenticationType": "NTLM"
      }
    • Steps to reproduce
  • What is the expected behavior?

  • Please tell us about your environment:
    SPGO 1.7.2
    SharePoint 2019 Server

    • OS and Version
    • SharePoint Location (Online vs. On Premise)
    • Authentication Type (e.g. Digest, NTFS, ADFS)
      NTFS
@rjhadley
Copy link

This is definitely broken. I have to rollback to pre 1.7.2 just to publish

@chrishasz
Copy link
Owner

Hello @onlyawt, @rjhadley

VSCode recently made a change (again!) to the internal request proxy. This specifically affects NTLM Auth.

can you review this issue and see if the proxy setting change fixes this for you?

@rjhadley
Copy link

Thank you! @chrishasz , confirmed this workaround fixes it.

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

3 participants