<?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: Proc HTTP :  auth_negotiate fails  and run successfully in another day while accessing sharepoin in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-HTTP-auth-negotiate-fails-and-run-successfully-in-another/m-p/829555#M327766</link>
    <description>&lt;P&gt;SAS Tech Support is the best resource to approach in this case.&lt;/P&gt;</description>
    <pubDate>Sun, 21 Aug 2022 12:55:52 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2022-08-21T12:55:52Z</dc:date>
    <item>
      <title>Proc HTTP :  auth_negotiate fails  and run successfully in another day while accessing sharepointAPI</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-HTTP-auth-negotiate-fails-and-run-successfully-in-another/m-p/827594#M326921</link>
      <description>&lt;UL&gt;
&lt;LI&gt;Does the SYSUSERID used in Proc http authentication ?&lt;/LI&gt;
&lt;LI&gt;In our case we verified from sharepoint admin team , that the userid used in our ETL programs have access &amp;nbsp;to the sharepoint site , But still the batch run &amp;nbsp;fails by throwing “unauthorized 401 header “ in some runs&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;and run successfully in another day &amp;nbsp;(with response code 200 in the header).&lt;/P&gt;
&lt;P&gt;we are using below code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;proc http&lt;BR /&gt;&amp;nbsp; &amp;nbsp; url = &amp;amp;sharepoint_URL.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; out = outfile&lt;BR /&gt;&amp;nbsp; &amp;nbsp; method = "get"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;headerout=hdrs&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;auth_negotiate&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ct='text/html&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;charset=utf-8'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;verbose;&lt;BR /&gt;debug level =3;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;w.r.t &amp;nbsp;reference guide &lt;A href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocumentation.sas.com%2Fdoc%2Fen%2Fpgmsascdc%2F9.4_3.5%2Fproc%2Fn1hee3s3s3j9oxn1x6czzzdqsj4u.htm&amp;amp;data=05%7C01%7Cchandana.kommi%40op.fi%7C6dbba6057b0a4511872908da792add00%7Ce1a2f9022172474fa88a189ec4f083fd%7C0%7C0%7C637955522255255559%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=wbNzh2D5UxjjjjzE6AB2it%2Ft61CSOxOGZ5pD1Fdh%2BZI%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;SAS Help Center: Wire Logging&lt;/A&gt; &lt;SPAN&gt;,&amp;nbsp; how to enable the &amp;nbsp;&amp;nbsp;logger APP.TK.HTTPC&lt;/SPAN&gt; &amp;nbsp;to trace the reasons for failed authentication &amp;nbsp;?&lt;/LI&gt;
&lt;LI&gt;please post your suggestions to address this issue.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 08 Aug 2022 12:26:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-HTTP-auth-negotiate-fails-and-run-successfully-in-another/m-p/827594#M326921</guid>
      <dc:creator>learn_SAS_23</dc:creator>
      <dc:date>2022-08-08T12:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proc HTTP :  auth_negotiate fails  and run successfully in another day while accessing sharepoin</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-HTTP-auth-negotiate-fails-and-run-successfully-in-another/m-p/829555#M327766</link>
      <description>&lt;P&gt;SAS Tech Support is the best resource to approach in this case.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 12:55:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-HTTP-auth-negotiate-fails-and-run-successfully-in-another/m-p/829555#M327766</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-08-21T12:55:52Z</dc:date>
    </item>
  </channel>
</rss>

