<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS EG Import Excel File From MS SharePoint 365 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-EG-Import-Excel-File-From-MS-SharePoint-365/m-p/791482#M253525</link>
    <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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, &lt;A href="https://github.com/sascommunities/sas-microsoft-graph-api" target="_self"&gt;you can use the code and macro routines shared here&lt;/A&gt; to list your SharePoint folders and files, download the file you need, and even upload content from SAS to SharePoint if needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have documentation and examples (and a demo video) in this article:&amp;nbsp;&lt;LI-MESSAGE title="How to use SAS to access Microsoft 365" uid="667869" url="https://communities.sas.com/t5/SAS-Communities-Library/How-to-use-SAS-to-access-Microsoft-365/m-p/667869#U667869" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jan 2024 16:22:58 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2024-01-29T16:22:58Z</dc:date>
    <item>
      <title>SAS EG Import Excel File From MS SharePoint 365</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-EG-Import-Excel-File-From-MS-SharePoint-365/m-p/791465#M253512</link>
      <description>I have a requirement to import an Excel document off of one of the enterprise SharePoint sites.
I have access to the SharePoint site and have placed the document on the SharePoint site.
I have started the PC File Server installed on my laptop.
I am running SAS EG 7.15.
I have tried many filename / libname / Proc Import / Proc HTTP URL= / ... Combinations
Can this be done: Importing an Excel document located on a SharePoint site from a SAS EG Program.
Thinking it may be a security issue...
TIA for the time...
Jay</description>
      <pubDate>Fri, 21 Jan 2022 15:48:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-EG-Import-Excel-File-From-MS-SharePoint-365/m-p/791465#M253512</guid>
      <dc:creator>JayS</dc:creator>
      <dc:date>2022-01-21T15:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG Import Excel File From MS SharePoint 365</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-EG-Import-Excel-File-From-MS-SharePoint-365/m-p/791482#M253525</link>
      <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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, &lt;A href="https://github.com/sascommunities/sas-microsoft-graph-api" target="_self"&gt;you can use the code and macro routines shared here&lt;/A&gt; to list your SharePoint folders and files, download the file you need, and even upload content from SAS to SharePoint if needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have documentation and examples (and a demo video) in this article:&amp;nbsp;&lt;LI-MESSAGE title="How to use SAS to access Microsoft 365" uid="667869" url="https://communities.sas.com/t5/SAS-Communities-Library/How-to-use-SAS-to-access-Microsoft-365/m-p/667869#U667869" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 16:22:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-EG-Import-Excel-File-From-MS-SharePoint-365/m-p/791482#M253525</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2024-01-29T16:22:58Z</dc:date>
    </item>
  </channel>
</rss>

