<?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: how to publish to a Microsoft Teams channel using SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-publish-to-a-Microsoft-Teams-channel-using-SAS/m-p/786910#M251312</link>
    <description>&lt;P&gt;Talk to your network admins, maybe outbound connection are blocked, due to log4shell.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Dec 2021 10:42:03 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2021-12-21T10:42:03Z</dc:date>
    <item>
      <title>how to publish to a Microsoft Teams channel using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-publish-to-a-Microsoft-Teams-channel-using-SAS/m-p/786907#M251309</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename resp temp;
options noquotelenmax;
proc http
/* Substitute your webhook URL here */
url="https :webhook uRL"
method="POST"
in=
'{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"summary": "Test message from SAS",
"text": "This message was sent by **SAS**!"
}'
out=resp;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hello Team ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am trying to send messages in teams channel with above code&lt;/P&gt;
&lt;P&gt;and getting below error ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: Error connecting to 111.11.111:113. (The connection has timed out.)&lt;BR /&gt;ERROR: Unable to establish connection to microsoft365.webhook.office.com.&lt;BR /&gt;ERROR: Unable to connect to Web server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;with&amp;nbsp; reference documentation as below link created a webhook and used in the above code from sas EG&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2019/09/05/sas-microsoft-teams/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2019/09/05/sas-microsoft-teams/&amp;nbsp;&lt;/A&gt;&amp;nbsp; ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please post your taught on above error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 10:30:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-publish-to-a-Microsoft-Teams-channel-using-SAS/m-p/786907#M251309</guid>
      <dc:creator>learn_SAS_23</dc:creator>
      <dc:date>2021-12-21T10:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to publish to a Microsoft Teams channel using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-publish-to-a-Microsoft-Teams-channel-using-SAS/m-p/786910#M251312</link>
      <description>&lt;P&gt;Talk to your network admins, maybe outbound connection are blocked, due to log4shell.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 10:42:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-publish-to-a-Microsoft-Teams-channel-using-SAS/m-p/786910#M251312</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-12-21T10:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to publish to a Microsoft Teams channel using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-publish-to-a-Microsoft-Teams-channel-using-SAS/m-p/786925#M251320</link>
      <description>&lt;P&gt;Use &lt;A href="https://blogs.sas.com/content/sasdummy/2018/01/23/check-json-and-http/" target="_self"&gt;this method to test that PROC HTTP&lt;/A&gt; can access the internet from your SAS environment.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 12:56:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-publish-to-a-Microsoft-Teams-channel-using-SAS/m-p/786925#M251320</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2021-12-21T12:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to publish to a Microsoft Teams channel using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-publish-to-a-Microsoft-Teams-channel-using-SAS/m-p/786931#M251324</link>
      <description>Thanks Chris , I tried with all methods in the link , but i still get below error&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;       filename resp "%sysfunc(getoption(WORK))/echo.json";&lt;BR /&gt;      proc http&lt;BR /&gt;         url="&lt;A href="https://httpbin.org/stream/1" target="_blank"&gt;https://httpbin.org/stream/1&lt;/A&gt;"&lt;BR /&gt;         method="GET"&lt;BR /&gt;         out=resp;&lt;BR /&gt;     run;&lt;BR /&gt;&lt;BR /&gt;ERROR: Host name resolution failed</description>
      <pubDate>Tue, 21 Dec 2021 14:13:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-publish-to-a-Microsoft-Teams-channel-using-SAS/m-p/786931#M251324</guid>
      <dc:creator>learn_SAS_23</dc:creator>
      <dc:date>2021-12-21T14:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to publish to a Microsoft Teams channel using SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-publish-to-a-Microsoft-Teams-channel-using-SAS/m-p/787018#M251374</link>
      <description>&lt;P&gt;That suggests to me that your SAS server has firewall rules blocking access to public internet sites like httpbin.org. I tried it from my home PC and I can get to that website. You will need to talk to your SAS administrator about what rules are in place and how to gain access.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 21:28:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-publish-to-a-Microsoft-Teams-channel-using-SAS/m-p/787018#M251374</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-12-21T21:28:31Z</dc:date>
    </item>
  </channel>
</rss>

