Unfortunately it's not that simple. As SharePoint Online is in the Azure cloud, you need to use some APIs to access the file, download it to your SAS session, and then import.
There are a few setup steps to complete first in order to get your SAS session connected with Microsoft 365. These will require cooperation with your IT team or whoever manages your Microsoft 365 tenant. Once complete, you can use the code and macro routines shared here to list your SharePoint folders and files, download the file you need, and even upload content from SAS to SharePoint if needed.
I have documentation and examples (and a demo video) in this article: How to use SAS to access Microsoft 365
Unfortunately it's not that simple. As SharePoint Online is in the Azure cloud, you need to use some APIs to access the file, download it to your SAS session, and then import.
There are a few setup steps to complete first in order to get your SAS session connected with Microsoft 365. These will require cooperation with your IT team or whoever manages your Microsoft 365 tenant. Once complete, you can use the code and macro routines shared here to list your SharePoint folders and files, download the file you need, and even upload content from SAS to SharePoint if needed.
I have documentation and examples (and a demo video) in this article: How to use SAS to access Microsoft 365
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: