- Newest
- Most votes
- Most comments
Based on your description, it appears you're encountering an issue with the QuickSight and SageMaker integration for ML Insights. Let me address the potential causes and solutions:
First, ensure that your IAM role has the complete set of permissions required for QuickSight to interact with SageMaker. The AWSQuickSightSageMakerPolicy managed policy includes specific permissions that might be missing from your custom role:
s3:GetObjectpermissions on Amazon QuickSight-owned S3 buckets with the prefixarn:aws:s3:::quicksight-ml- SageMaker permissions including
sagemaker:CreateTransformJob,sagemaker:DescribeTransformJob, andsagemaker:StopTransformJob sagemaker:ListModelspermission to list your SageMaker AI models
Since you're seeing QuickSight assume the role but not make any SageMaker API calls, there could be a trust relationship issue. Verify that your IAM role has the correct trust policy allowing QuickSight to assume the role:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "quicksight.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}
For SSO-authenticated SageMaker domains, there might be additional configuration requirements. The error message "A SageMaker domain needs to be selected before you can build a predictive model" suggests that QuickSight isn't properly recognizing your SageMaker domain despite it being selected in the settings.
Another possibility is that there might be an issue with the SageMaker domain configuration itself. Ensure that your SageMaker domain is properly set up and that the Canvas application is correctly configured for integration with QuickSight.
If you've verified all these settings and the issue persists, it could be a service limitation or a bug in the integration between QuickSight and SageMaker Canvas when using SSO authentication. In this case, you may need to contact AWS Support for further assistance, as this appears to be a specific integration issue rather than a general permission problem.
Sources
AWS managed policies for Amazon QuickSight - Amazon QuickSight
Prerequisites - Amazon QuickSight
answered 10 months ago
Suggested Fixes and Workarounds ✅ 1. Check that QuickSight is SSO-Integrated
Go to: QuickSight Console → Security & Permissions → Manage → IAM Identity Center (SSO) Ensure: Identity Center is enabled and linked
The user who’s accessing QuickSight is provisioned via Identity Center That user also has access to SageMaker Canvas (license enabled under SSO)
✅ 2. Try Creating a New SageMaker Domain in IAM Mode (for Testing) As a test: Create a SageMaker domain with AuthMode = IAM (not SSO). Use an IAM user with AmazonSageMakerFullAccess. See if the “Build a predictive model” button works via QuickSight in that setup. If it works there, this proves the issue is with SSO + domain visibility, not your IAM role or permissions.
✅ 3. Open an AWS Support Ticket – Reference SSO Bug This might be a known issue or limitation with QuickSight + SSO + Canvas integration, especially for accounts with custom roles and SSO domains. When opening the ticket, mention: The AssumeRole is happening, but no SageMaker API calls are triggered. The domain is SSO-authenticated and Canvas works directly. You’ve verified policies, region alignment, visual type, and no CloudTrail Deny events. You're in eu-central-1.
You can reference a similar issue that AWS Support has acknowledged in the past as a Canvas-QuickSight backend bug affecting accounts with:
SSO-only domains
Regional Canvas provisioning (e.g. in eu-central-1, ca-central-1, etc.)
======================================================== Here’s what’s fully valid and safe to try, with no risk to your environment:
- Test with an IAM-authenticated SageMaker Domain This isolates the issue: if it works, the problem is clearly with SSO domain compatibility in QuickSight. It’s a safe, temporary test and doesn’t interfere with your existing SSO domain.
- Open an AWS Support Ticket This is the most likely path to a fix. Your case sounds like a classic backend bug or undocumented limitation. AWS support can confirm if this is a known limitation with SSO domains + Canvas + QuickSight in Frankfurt (eu-central-1).
answered 10 months ago
Relevant content
- AWS OFFICIALUpdated 2 years ago

The IAM role that I am using has the right assume policy and has the following managed policies attached:
I do not see any issues with SSO login in CloudTrail and I can Login to SageMaker domain with SSO manually.
I cannot understand what might be the issue with SageMaker domain configuration, as I mentioned, there were some problems with permissions, which I could pinpoint with help of CloudTrail, but even though I fixed them the described issue still persist. I don't not at this point what can be wrong. When I try to use the canvas as SSO user, all works fine. I can create and train models without issues.