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
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!