Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
SPDR
New Member

[Fabric IQ Plan – Preview] Connection failed: Unable to retrieve access token from Analysis Services

Hi everyone,

I'm testing the new **Fabric IQ Plan (Preview)** feature and running into a persistent error when trying to connect a Cloud Semantic Model connection to my Plan. I've been unable to resolve this despite checking all prerequisites I'm aware of.

**Environment**
- Capacity: F4 (recently migrated from Trial)
- Workspace: assigned to F4 capacity
- Semantic Model: uploaded and visible in the workspace
- Connection type: Cloud Semantic Model Connection, OAuth2

**Steps to reproduce**
1. Created a Workspace
2. Uploaded a Semantic Model
3. Created a Plan item
4. Created a Cloud Semantic Model Connection (OAuth2)
5. Tried to link the Semantic Model connection to the Plan

**Error message**
> Connection failed – Unable to retrieve access token from Analysis Services.

**What I have already verified**
- Tenant setting "Users can create a Planning (preview) item(s)" → enabled
- Tenant setting "Allow XMLA endpoints and Analyze in Excel" → enabled
- XMLA Endpoint on the F4 capacity → Read/Write
- Verified XMLA Read/Write is actually working: successfully edited and saved a Measure via Tabular Editor against the same Semantic Model
- Capacity restarted, connection deleted and recreated multiple times

All prerequisites from the official documentation appear to be met. The error message seems misleading since token retrieval via Tabular Editor works fine with the same credentials and the same Semantic Model.

Has anyone else encountered this, or found a workaround?

Thanks in advance!

1 ACCEPTED SOLUTION
arabalca
Impactful Individual
Impactful Individual

Hi @SPDR 

 

After reviewing the official prerequisites documentation for Plan (preview), I think there's a tenant setting that might be missing — one that doesn't appear in most getting-started guides:

 

Developer settings → "Embed content in apps" → must be enabled.

 

This is the third required tenant setting alongside the two you've already verified. I think that this error *"Failed to retrieve access token from Analysis Services"* fits exactly with a failure to generate an embed token internally, which depends on this setting.

 

https://learn.microsoft.com/en-us/fabric/iq/plan/overview-prerequisites

 

What is your role in workspace? If you are contributor I wiould try change to member or admin.

 

If this response has been helpful, please don't forget to give it a Like and mark it as a Solution so other community members can find it easily.

 

Thank you!

View solution in original post

2 REPLIES 2
arabalca
Impactful Individual
Impactful Individual

Hi @SPDR 

 

After reviewing the official prerequisites documentation for Plan (preview), I think there's a tenant setting that might be missing — one that doesn't appear in most getting-started guides:

 

Developer settings → "Embed content in apps" → must be enabled.

 

This is the third required tenant setting alongside the two you've already verified. I think that this error *"Failed to retrieve access token from Analysis Services"* fits exactly with a failure to generate an embed token internally, which depends on this setting.

 

https://learn.microsoft.com/en-us/fabric/iq/plan/overview-prerequisites

 

What is your role in workspace? If you are contributor I wiould try change to member or admin.

 

If this response has been helpful, please don't forget to give it a Like and mark it as a Solution so other community members can find it easily.

 

Thank you!

Hi @arabalca,

Thank you very much! That was exactly the issue.

The tenant setting "embed content in appswas disabled. After enabling it, I could ad the semantic model and the "Failed to retrieve access token from Analysis Services" error disappeared.

PS: I already was workspace admin. So from this site everything was fine.

👍

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

June Fabric Update Carousel

Fabric Monthly Update - June 2026

Check out the June 2026 Fabric update to learn about new features.

Top Solution Authors
Top Kudoed Authors