jasonrollins / shareplum

Pythonic SharePoint
MIT License
179 stars 96 forks source link

do i need to have access to root site? #113

Open nvliumang opened 4 years ago

nvliumang commented 4 years ago

Hi ,

I am using below code to connect to SPO:

authcookie = Office365('https://xxxxxx.sharepoint.com', username=username, password=password).GetCookies()
site = Site('https://xxxxxx.sharepoint.com/sites/sbdev/subtest01',version=Version.v365, authcookie=authcookie)

But there is a question: some users have no access to root site (https://xxxxxx.sharepoint.com), they only want to connect to the subsite.

Can you help to answer this?

jasonrollins commented 3 years ago

I'm pretty sure you can have access to a subsite without access to the main site. I'm not an experienced SharePoint admin so I can explain how to do this.