Guest access is an optional feature that provides anonymous Read-Only access to Visual Analytics content. Essentially, this means you can allow users to view Visual Analytics reports without having to log in. While guest access is supported in SAS Visual Analytics 7.4, it was not available in Version 8.1. The good news is, guest access is BACK in VA version 8.2! The official documentation on how to enable it is located here.
This article gives a detailed step-by-step guide on how to enable guest access in your SAS Visual Analytics 8.2 Environment:
This process involves using the Command Line Interface (or CLI). To use the CLI, you first must create a CLI Profile and Login to the environment where the command line interfaces are installed. @Renato_sas also has a great write up on logging in with the CLI in this article, under the "Command Line Interface" section. These two steps are also documented in these support.sas.com pages:
Once you have completed the two steps in the links above, submit the following commands on the same machine you logged into with the CLI.
The next step in the process is to select which reports the guest user should be able to view (without having to log in!).
With the steps above completed, you can now view SAS Visual Analytics reports without having to log in!
Hello @Mike_Drutar,
thank you for the guide, it is great.
Do you have a way to provide direct access for Guest to report or to a dashboard with (favourite) reports? I mean, you provide only a URL and the application will go directly to a list of reports or to one report, without more "clicks".
Also, would this work for every Authentication option as explained by @StuartRogers ?
And, what for Mobile BI app?
Thank you in advance!
Kind regards,
Juan
Hi,
Is there such steps for VA client 7.3 (server 9.4)?
I think I have everything setup right, but keep getting the dreaded 'The requested data source was not found on the server' with the data set attached to the report.
H E L P!!!
The data source has to be given guest access too.
Hi, I am facing below error while running Step#2 3 point, below is the error
/opt/sas/viya/home/bin/sas-admin authorization create-rule --object-uri=/files/files/** --permissions Read --guest --description "Guest Access: Grants permission to a file based on the file’s parent" --condition "isAuthorized(#file?.parentUri)"
The following errors have occurred:
The authorizationRule was not valid.
Http Status: 400
ErrorCode: 1177
Detailed Messages:
correlator: 9f2d953b-495f-45d6-8577-c29768c51dd9
traceId: f22ae2809da448d1
path: /authorization/rules
FieldError: Rule [id=guest-files-3, type=GRANT, permissions=[READ], principal=null, principalType=guest, containerUri=null, objectUri=/files/files/**, mediaType=null, condition=isAuthorized(#file?.parentUri), filter=null, reason=null, description=Guest Access: Grants permission to a file based on the file's parent, isEnabled=true, matchParams=false, isShare=false]: Provided authorization rule is a duplicate of this rule.
>> Do i need to replace the object-uri=/files/files/** with any folder path lets say /public ?
same thing with the 5 point
/opt/sas/viya/home/bin/sas-admin authorization create-rule --object-uri=/identities/users/@currentUser --permissions Read --guest --description "Guest Access: Users can see identity information for the current user"
The following errors have occurred:
The authorizationRule was not valid.
Http Status: 400
ErrorCode: 1177
Detailed Messages:
correlator: 4803aa8c-2fd6-465b-9e34-5fe4213888db
traceId: 3a3f3f91f484315e
path: /authorization/rules
FieldError: Rule [id=guest-identities-3, type=GRANT, permissions=[READ], principal=null, principalType=guest, containerUri=null, objectUri=/identities/users/@currentUser, mediaType=null, condition=null, filter=null, reason=null, description=Guest Access: Users can see identity information for the current user., isEnabled=true, matchParams=false, isShare=false]: Provided authorization rule is a duplicate of this rule.
>>Do i need to replace Current user with the id ?
Appreciate your suggestions and help!
Thanks
Nikhil
Hi nikhilreddy in that point I changed in this way:
/opt/sas/viya/home/bin/sas-admin authorization create-rule --object-uri=/folders/folders/** --permissions Read --guest --description "Guest Access: Grants permission to a file based on the file’s parent" --condition "isAuthorized(#file?.parentUri)"
But we have the problem with point 6:
Submit: /opt/sas/viya/home/bin/sas-admin cas facilitate-guest --source-file /opt/sas/viya/home/share/guest/ --server cas-shared-default --superuser
Hi @Mike_Drutar
Is it possible to configure guest access without clicking the "Guest" button? When user use report link he simply sees the dashboard without intermediate steps
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!
Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning and boost your career prospects.