I have a use case where I need to send ~37 project-specific reports and email each project’s POC automatically. We planned to use dashboard snap job api for the getting the dashboard snapshot. However, I encountered below error :
aws: [ERROR]: An error occurred (AccessDeniedException) when calling the StartDashboardSnapshotJob operation: IdentityStore not found or unauthorized for account XX. Verify IdentityStore exists and credentials have proper permissions.
In Amazon QuickSight Enterprise Edition, you can email reports from any sheet in a dashboard — not just pixel-perfect report sheets. This includes interactive dashboard sheets as well. You can configure schedules that define when to send them, what content to include, and who receives the emai.
QuickSight provides Snapshot Export APIs that allow you to programmatically generate and deliver dashboard snapshots to users who are not registered in QuickSight (anonymous/non-QuickSight users). The key APIs are :
StartDashboardSnapshotJob – Initiates a snapshot export job
DescribeDashboardSnapshotJob – Checks the status of the job
DescribeDashboardSnapshotJobResult – Retrieves the result
These APIs support exporting:
PDF format – for pixel-perfect report sheets
CSV and Excel formats – for data from tables and pivot tables
Method
Registered Users
Anonymous Users
Notes
Pixel Perfect Report Scheduling
Built-in email scheduling with RLS support
Interactive Sheet Email Reports
Schedule emails from any dashboard sheet
Snapshot Export APIs
Programmatic; requires custom app to handle email delivery
you may need to apply RLS /CLS in your dataset, to make sure user see only thoes data relevant to them.
This is confusing, I did try the StartDashboardSnapshotJob.
I was not able to do it for registered users , here is the error encountered.
aws: [ERROR]: An error occurred (ParamValidation): Parameter validation failed:
Unknown parameter in UserConfiguration: “RegisteredUsers”, must be one of: AnonymousUsers
I tried using with null anonymous user as provided in my previous message.
Error encountered : aws: [ERROR]: An error occurred (AccessDeniedException) when calling the StartDashboardSnapshotJob operation: IdentityStore not found or unauthorized for account XX. Verify IdentityStore exists and credentials have proper permissions.
Scheduling via dashboard is restricted to 5 schedules only, has this changed?
I have 37 project specific reports which needs to go out to users who are not registered in Quicksight.
Let me know if I can achieve the above goal without the Pixel perfect add on.