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
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!