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 define namespace type for Online authentiation #127

Open ianoel230982 opened 4 years ago

ianoel230982 commented 4 years ago

Hi,

Our company has recently got SharePoint Online so i'm using SPGo to try and connect to it for the first time and getting the following message in the output of the terminal

[10/09/2020, 12:11:01] ================================     ERROR     ================================

[10/09/2020, 12:11:01] Unable to define namespace type for Online authentiation
[10/09/2020, 12:11:01] Error Detail:
[10/09/2020, 12:11:01] ----------------------
[10/09/2020, 12:11:01] {}
[10/09/2020, 12:11:01] 

Here is a copy of my SPGo.json file

{
    "sourceDirectory": "src",
    "sharePointSiteUrl": "https://###.sharepoint.com/sites/#######",
    "workspaceRoot": "c:\\SPGo\\SPOnlineTest",
    "publishWorkspaceOptions": {
        "destinationFolder": "/",
        "globPattern": "c:\\SPGo\\SPOnlineTest\\src\\**\\*.*",
        "localRoot": "c:\\SPGo\\SPOnlineTest\\src"
    },
    "publishingScope": "SaveOnly",
    "authenticationType": "Digest",
    "remoteFolders": ["/**/"]
}

I notice in the error message provided above the word 'authentiation' is incorrectly spelled and presume it should say 'authentication'. I have googled the error message as given which has led me to the only article i can find - https://github.com/s-KaiNet/gulp-spsave/issues/34

I have had a read through the article and presume the error message is coming from a tool you use to create the SPGo extension and its not an issue with the extension itself. Unfortunately, not much of that makes sense to me and i'm not using gulp or any other similar type of tool.

Is there any guidance you can give me as to what the issue may be?

Thanks, Ian.

chrishasz commented 3 years ago

Hello @ianoel230982 -

Sorry for the delayed response. I do use the spsave library under the covers to upload files to SharePoint. I will download the latest version and take a look at the source that generates that error.

If I find something concrete, I'll respond here.

In the meantime, is your company using anything besides OOTB Digest authentication for access? (e.g. Azure MFA, Ping Identiy, NTLM, Auth0, etc.)

ianoel230982 commented 3 years ago

Thanks for the response, unfortunately it's very difficult to get any concrete answers from anyone regarding SPOnline from within our company as no one really knows anything about it or who even 'installed' it. So for now its a mystery. It's not something i've looked into since my initial question, so please don't spend too much time looking into this as it isn't a priority for us right now. Obviously any help is appreciated :-)