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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
KarenFingerhut
Responsive Resident
Responsive Resident

Direct Query Cannot Load Model. Login Failed for user. The exception was by raised by the IDbConnect

Hi there

 

I have built a PBI desktop report in Direct Query Mode. The report is working fine for me.  The issue I have is that a colleague, who could access the PBIX file a week ago, cannot access it now. He can however access the published version. But I need him to be able to access the PBIX file to make changes. He can also access the DB and table in SQL and write a query against it.

 

The error message he is getting is below. 

 

KarenFingerhut_0-1597922776560.png

 

Can someone please shed some light on this. Its strange how he could access previously and now he cant. I've deleted the  data source permissions but that didn't make any difference

 

Many thanks

Karen

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello @KarenFingerhut,

AFAIK, the current power bi pbix file connection credentials are stored locally.
Therefore, it means that it will prompt you to update/verify the data connection credentials if you send or download the pbix file directly and use it on another device or display the error message for any valid credentials to obtain and connect to the database.
Note: You are working in the direct query mode that will send the query each time you interact with visuals or load data. For the import mode data source, allows you to make some report layout changes to the pbix file if it does not operate on the backend query tables.

I hope this will help you know more about your scenario.
Best regards

Xiaoxin Sheng

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hello @KarenFingerhut,

AFAIK, the current power bi pbix file connection credentials are stored locally.
Therefore, it means that it will prompt you to update/verify the data connection credentials if you send or download the pbix file directly and use it on another device or display the error message for any valid credentials to obtain and connect to the database.
Note: You are working in the direct query mode that will send the query each time you interact with visuals or load data. For the import mode data source, allows you to make some report layout changes to the pbix file if it does not operate on the backend query tables.

I hope this will help you know more about your scenario.
Best regards

Xiaoxin Sheng

Good morning (UK Time 😁) Xiaoxin

Many thanks for your reply, and yes that makes sense.

With regards to Direct Query - On this occasion the report has to be in DQ as I want to embed a PowerApp in the report and write back to the Database, and then use the 15 mins scheduled refresh

I'll leave this open for today and see if I can resolve. If I can ill close the call, if not and I still have some issues i'll post a further reply.

Once again thank you

Kind regards

Karen

amitchandak
Super User
Super User

@KarenFingerhut , Go to edit connection and provide the connection details and try again.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi there

 

Sadly it didn't resolve the issue. Thanks anyway 🙂

 

K

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.