Using jupyter notebook and I am trying to connect to a SAS Viya environment.
The code goes like
s = CAS(host='sas-cas-server-default-client', port=5570, username='', password='').
I have looked for the host under the sas environment manager as for the username and password is it the exact same as the one I use to log in
onto sas viya?
I log in to Viya with a username and password. I have given what you said a try but it returns:
ERROR: Connection failed. Server returned: OAuth authentication failed: Access denied.
Yeah I am able to connect to CAS from SAS studio
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.