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;
Hello Team ,
Am trying to send messages in teams channel with above code
and getting below error ,
ERROR: Error connecting to 111.11.111:113. (The connection has timed out.)
ERROR: Unable to establish connection to microsoft365.webhook.office.com.
ERROR: Unable to connect to Web server.
with reference documentation as below link created a webhook and used in the above code from sas EG
https://blogs.sas.com/content/sasdummy/2019/09/05/sas-microsoft-teams/ ,
please post your taught on above error.
Talk to your network admins, maybe outbound connection are blocked, due to log4shell.
Use this method to test that PROC HTTP can access the internet from your SAS environment.
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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.