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
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!