Hello Everyone, I am stuck on an issue and thought I'd reach out to see if anyone can provide me with some advice.
Currently, we have one R studio on our local server that connects to an On-Prem Sharepoint site to pull files. Our company has migrated to a Cloud-based Sharepoint and the only thing that has changed is the arrangement of the root URL. Folder structure, file structure, etc. are all the same, however, when trying to run the below code to pull the XML from the URL, it is not returning anything. Any advice would be greatly appreciated.
I can provide more information as well.
When the URL is specified as 'http' i get the following:
HTTP/1.1 301 Moved Permanently
When the URL is specified as 'https' I get the following:
< HTTP/1.1 401 Unauthorized
< Content-Type: text/plain; charset=utf-8
< P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
< X-SharePointHealthScore: 3
< X-MSDAVEXT_Error: 917656; Access+denied.+Before+opening+files+in+this+location%2c+you+must+first+browse+to+the+web+site+and+select+the+option+to+login+automatically.
I have verified that the username we are using has the correct/same permissions as it did in the old site.