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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
kadirkkkk
Advocate I
Advocate I

scheduled refresh corrupts user credentials and makes it stop refresh

In my situation there are two tenants, Tenant A and Tenant B

In tenant A there is X user. X user is also a guest user in Tenant B. X user has fabric admin role in Tenant B. 

In tenant B there is a dataflow (gen 1) and a semantic model connected to this dataflow

In semantic model i use the X user credentials to connect dataflow. Of course i connect X user as "Sing in to an organisation" option and enter the Tenant B address.

When i click REFRESH in semantic model, everything works fine. But when i schedule a refresh that refresh gives error as below; 

 

<ccon>Expression.Error: The key didn't match any rows in the table.. Microsoft.Data.Mashup.ErrorCode = 10061. Key = [workspaceId = "xxxxxxxxxx"]. Table = #table({"workspaceId", "workspaceName", "workspaceType"}, {}). </ccon>;<ccon>The key didn't match any rows in the table.</ccon>. The exception was raised by the IDbCommand interface. Table: DataTableName.

 

Once the error occurs manual refresh stop working either. 

When i enter the credentials again manuel refresh starts working again. 

 

Looks like a bug. What do you suggest?

1 ACCEPTED SOLUTION
v-sgandrathi
Community Support
Community Support

Hi @kadirkkkk,

Thank you for providing detailed information about the issue you're encountering.

Based on the scenario you've described, the root cause of the scheduled refresh failure seems to be related to using a guest user account from Tenant A to access resources in Tenant B. While manual refresh works when initiated through the Power BI interface using the guest session, scheduled refresh operations run in the background and are unable to consistently authenticate guest users across tenants.

This behavior can lead to a token mismatch or loss of access context, resulting in the error: “The key didn't match any rows in the table.”

Once this occurs, it can also invalidate or corrupt the stored credentials, which is why manual refresh stops functioning until the credentials are re-entered.

 

To ensure stable and consistent refresh behavior, we recommend the following:

Use a native user account created directly within Tenant B, rather than a guest user account.

Assign the appropriate permissions (such as Fabric Admin) to this native account.

Reconfigure the semantic model to use this account for dataflow connections.

Using a native user account ensures that the Power BI service can reliably handle authentication for scheduled refreshes, avoiding the limitations associated with guest accounts in cross-tenant scenarios.

 

Glad I could assist! If this answer helped resolve your issue, please mark it as Accept as Solution and give us Kudos to guide others facing the same concern.

 

Thank you being a part of the Microsoft Fabric Community.

View solution in original post

5 REPLIES 5
v-sgandrathi
Community Support
Community Support

Hi @kadirkkkk,

Thank you for providing detailed information about the issue you're encountering.

Based on the scenario you've described, the root cause of the scheduled refresh failure seems to be related to using a guest user account from Tenant A to access resources in Tenant B. While manual refresh works when initiated through the Power BI interface using the guest session, scheduled refresh operations run in the background and are unable to consistently authenticate guest users across tenants.

This behavior can lead to a token mismatch or loss of access context, resulting in the error: “The key didn't match any rows in the table.”

Once this occurs, it can also invalidate or corrupt the stored credentials, which is why manual refresh stops functioning until the credentials are re-entered.

 

To ensure stable and consistent refresh behavior, we recommend the following:

Use a native user account created directly within Tenant B, rather than a guest user account.

Assign the appropriate permissions (such as Fabric Admin) to this native account.

Reconfigure the semantic model to use this account for dataflow connections.

Using a native user account ensures that the Power BI service can reliably handle authentication for scheduled refreshes, avoiding the limitations associated with guest accounts in cross-tenant scenarios.

 

Glad I could assist! If this answer helped resolve your issue, please mark it as Accept as Solution and give us Kudos to guide others facing the same concern.

 

Thank you being a part of the Microsoft Fabric Community.

Hi  @kadirkkkk,

 

We wanted to follow up since we haven't heard back from you regarding our last response. We hope your issue has been resolved.

If my answer resolved your query, please mark it as "Accept Answer" and give Kudos if it was helpful.

If you need any further assistance, feel free to reach out.

Thank you for being a valued member of the Microsoft Fabric Community Forum!

Yes, what you suggest as using native user account solved refresh issue. But that cost me an extra Power BI pro license 😞

SaiTejaTalasila
Super User
Super User

Hi @kadirkkkk ,

 

@GilbertQ is correct. Can you share more details?

Data source, authentication you are using etc,..

 

Thanks,

Sai Teja 

GilbertQ
Super User
Super User

Hi @kadirkkkk 

 

I would strongly recommend making sure you always use user accounts within the tenant that you want the refresh to happen using guest accounts in another tenant creates endless headaches and a lot of complexity that is very hard to troubleshoot and get working successfully.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors