BookmarkSubscribeRSS Feed
learn_SAS_23
Quartz | Level 8
  • Does the SYSUSERID used in Proc http authentication ?
  • In our case we verified from sharepoint admin team , that the userid used in our ETL programs have access  to the sharepoint site , But still the batch run  fails by throwing “unauthorized 401 header “ in some runs

 and run successfully in another day  (with response code 200 in the header).

we are using below code

 

 proc http
    url = &sharepoint_URL.
    out = outfile
    method = "get"
               headerout=hdrs
     auth_negotiate
     ct='text/html
     charset=utf-8'
     verbose;
debug level =3;
run;

 

  • w.r.t  reference guide SAS Help Center: Wire Logging ,  how to enable the   logger APP.TK.HTTPC  to trace the reasons for failed authentication  ?
  • please post your suggestions to address this issue.
1 REPLY 1
Sajid01
Meteorite | Level 14

SAS Tech Support is the best resource to approach in this case.

SAS Innovate 2025: Call for Content

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!

Submit your idea!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 377 views
  • 0 likes
  • 2 in conversation