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

Same issue as #119 but not resolved #139

Open brooksienyc opened 3 years ago

brooksienyc commented 3 years ago

Hi Chris, I'm using spgo to connect to my company's internal SharePoint online site. I tried the extension out a few months ago on a different site and it worked fine. I have tried everything from every response you've given and I simply cannot get it to populate my workspace. I've tried every authentication type, adding the 'remoteFolders', etc. but nothing works. I also checked the spgo logs and I see 'invalid argument' and 'Error Detail: -----------' and I even tried entering:

This spgo replacement with your 1st codeblock below actually did something. It didn't return an error right away, it looked as though it was going to populate and then after a few seconds it returned an 'ETIMEDOUT' error a RequestError. Of course I change the url/specs where needed for my site but still nothing worked.

{ "sourceDirectory": "src", "sharePointSiteUrl": "https://tenant.sharepoint.com", "publishingScope": "Minor", "publishWorkspaceOptions": { "destinationFolder" : "/SiteAssets/project", "globPattern" : "/*/.min.", "localRoot" : "/dist" }, "authenticationType": "ADFS", "authenticationDetails": { "relyingParty": "[relying party]", "adfsUrl": "[ADFS Url]" }, "checkInMessage" : "Custom Publishing Message", "storeCredentials" : true, "remoteFolders": [ "/siteAssets/" ] }

as well as the very basic which only returned an error right away.

{ "sourceDirectory": "src", "sharePointSiteUrl": "https://xxxx.sharepoint.com", "publishingScope": "Minor", "authenticationType": "Digest" }

I am all out of ideas so if you have any suggestions I would be very grateful!

Best .)