BookmarkSubscribeRSS Feed
learn_SAS_23
Pyrite | Level 9
  • 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-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Early bird rate extended! Save $200 when you sign up by March 31.

Register now!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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