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
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Explore Now →