I am trying to access an excel spreadsheet into my python script using office365-rest-python-client using both my user credentials and client credentials. My SharePoint site URL is: https://company.com/sites/mysite/file. I have access to input file and client id and secret for site and subsite in which my file is but don't have access to the folder in which the input file is. I am getting invalid DNS errors and unable to acquire token errors. Anybody have any suggestions with this?