Forum Discussion
Guilherme_Domingues
Mar 23, 2021Copper Contributor
Using Login/Password Hardcoded on Python to retrive FILES from Sharepoint Folder get me Error 403
Im currently trying to get a zip file from a Sharepoint folder to my Azure Blob storage. The SharePoint environment belongs to a partner company. I have a personal login/password belonging to my Comp...
Mar 26, 2021
Are you sure Modern Authentication isn't enabled/required? That will block straight username/password. This can be configured at the M365 tenant level and SPO tenant level.
Guilherme_Domingues
Mar 31, 2021Copper Contributor
Hi Trevor,
Thank you for the reply. Currently I´m able to access the Sharepoint site via Browser just with a login/Password with no need for VPN or MFA. I could log from any machine or IP. There is no restrictions there. My restriction is when I try to connect using Python library. Thats when I get the error. Since I´m not very familiar with Sahrepoint Settings, I was not sure if I need to a specific permition or if the Sharepoint needed to activate some feature to allow me this. I looked Modern Authentication up and it seemed related to MFA, which is not the case for these site. Did I misunderstood Modern Authentication?
Thank you for the reply. Currently I´m able to access the Sharepoint site via Browser just with a login/Password with no need for VPN or MFA. I could log from any machine or IP. There is no restrictions there. My restriction is when I try to connect using Python library. Thats when I get the error. Since I´m not very familiar with Sahrepoint Settings, I was not sure if I need to a specific permition or if the Sharepoint needed to activate some feature to allow me this. I looked Modern Authentication up and it seemed related to MFA, which is not the case for these site. Did I misunderstood Modern Authentication?