<?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: Synapse access using Azure Service Principal Authentication in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Synapse-access-using-Azure-Service-Principal-Authentication/m-p/831372#M24981</link>
    <description>&lt;P&gt;Hi Shoin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I know how to set with the ID and the token access value in the caslib connection definition?&lt;/P&gt;
&lt;P&gt;I can access data in Synapse general table whether sparkpool or the dedicated/deafult one.&lt;/P&gt;
&lt;P&gt;But there's authorized error came when I try to open the table in dedicated external table in Synapse through CAS or libname.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ERROR: CLI open cursor error: [SAS][ODBC SQL Server Wire Protocol driver][SQL Server Azure Data Warehouse]Not able to validate &lt;BR /&gt;       external location because The remote server returned an error: (401) Unauthorized.&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emwang_0-1662021615860.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74923iA422680948924D65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="emwang_0-1662021615860.png" alt="emwang_0-1662021615860.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2022 08:41:52 GMT</pubDate>
    <dc:creator>emmao</dc:creator>
    <dc:date>2022-09-01T08:41:52Z</dc:date>
    <item>
      <title>Synapse access using Azure Service Principal Authentication</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Synapse-access-using-Azure-Service-Principal-Authentication/m-p/822099#M24652</link>
      <description>&lt;P&gt;WIN X64 server SAS 9.4 TS1M7&lt;/P&gt;
&lt;P&gt;SAS ACCESS/ODBC&lt;/P&gt;
&lt;P&gt;SYS DSN connection test is &lt;STRONG&gt;successful&lt;/STRONG&gt; and uses&amp;nbsp;&lt;STRONG&gt;Azure Service Principal Authentication&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am testing first in BASE editor (once connecting, then will test via EG and set up library in meta)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the error I am getting:&lt;/P&gt;
&lt;PRE&gt;ERROR: CLI error trying to establish connection: [Microsoft][ODBC Driver 18 for
       SQL Server][SQL Server]Error requesting access token, HTTP status 400,
       expected 200&lt;/PRE&gt;
&lt;P&gt;I am searching on MS reference docs, there have been issues registered but with CLI not SAS (not much that I could find).&amp;nbsp; I am seeing anyone dealt with this before going to SAS TS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers &amp;amp; TIA&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-S&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 16:52:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Synapse-access-using-Azure-Service-Principal-Authentication/m-p/822099#M24652</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2022-07-07T16:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Synapse access using Azure Service Principal Authentication</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Synapse-access-using-Azure-Service-Principal-Authentication/m-p/824511#M24700</link>
      <description>&lt;P&gt;I had it resolved, this was more so to do with the ID and the token access value.&amp;nbsp; Once provided, worked like a charm.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-S&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 22:03:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Synapse-access-using-Azure-Service-Principal-Authentication/m-p/824511#M24700</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2022-07-20T22:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Synapse access using Azure Service Principal Authentication</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Synapse-access-using-Azure-Service-Principal-Authentication/m-p/831372#M24981</link>
      <description>&lt;P&gt;Hi Shoin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I know how to set with the ID and the token access value in the caslib connection definition?&lt;/P&gt;
&lt;P&gt;I can access data in Synapse general table whether sparkpool or the dedicated/deafult one.&lt;/P&gt;
&lt;P&gt;But there's authorized error came when I try to open the table in dedicated external table in Synapse through CAS or libname.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ERROR: CLI open cursor error: [SAS][ODBC SQL Server Wire Protocol driver][SQL Server Azure Data Warehouse]Not able to validate &lt;BR /&gt;       external location because The remote server returned an error: (401) Unauthorized.&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emwang_0-1662021615860.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74923iA422680948924D65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="emwang_0-1662021615860.png" alt="emwang_0-1662021615860.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 08:41:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Synapse-access-using-Azure-Service-Principal-Authentication/m-p/831372#M24981</guid>
      <dc:creator>emmao</dc:creator>
      <dc:date>2022-09-01T08:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Synapse access using Azure Service Principal Authentication</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Synapse-access-using-Azure-Service-Principal-Authentication/m-p/912933#M27908</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15279"&gt;@shoin&lt;/a&gt;&amp;nbsp;we have similar requirements to connect to Azure Synapse SQL (Serverless), Are you able to share more details on driver and odbc.ini parameters?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 04:27:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Synapse-access-using-Azure-Service-Principal-Authentication/m-p/912933#M27908</guid>
      <dc:creator>Mayankp</dc:creator>
      <dc:date>2024-01-25T04:27:13Z</dc:date>
    </item>
  </channel>
</rss>

