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

Getting Error- Unable to resolve namespace authentication type while connecting to online sharepoint site #72

Open
sanjeev2315 opened this issue Jan 18, 2020 · 2 comments

Comments

@sanjeev2315
Copy link

I am trying to connect to sharepoint site of my organization to download docs, I am passing username and password of my own and getting error saying-

Unable to resolve namespace authentication type.

Could someone please redirect me in correct direction to get it resolved

@tibetoine
Copy link

It works for me.
I have something like that :
const sharepointAuth = () =>
spauth.getAuth(SHAREPOINT_PATRIMOINE_URI, {
username: process.env.SHAREPOINT_USERNAME,
password: process.env.SHAREPOINT_PASSWORD,
domain: process.env.SHAREPOINT_DOMAIN
})

@mikkosiika
Copy link

Some SharePoint sites seem to require domain and some do not. Fixed this in one instance by giving username (in the format of o365 email), password and correct domain.

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

No branches or pull requests

3 participants