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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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
  • 254 views
  • 0 likes
  • 2 in conversation