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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
lorenzofarella
New Member

Error when loading the dataset from Power BI in Excel

I’m experiencing an issue with an Excel file connected to Power BI. Using the same credentials, I can connect to the data source on some PCs, but on others, I receive the following error: “An error occurred while loading the dataset 'pbiazure://api.powerbi.com...’” (see attached screenshot).
 I have already confirmed that the credentials are correct. What could be causing this issue, and how can I resolve it?
OyRfWkes9QvrPMfxSHX4Cuz0C2I1tP54gQ.png

4 REPLIES 4
lorenzofarella
New Member

Hello,

This isn’t an account or credential issue; the access to the data model varies from one PC to another. I’ve verified that both the Excel account and license are correct, and I also checked the account through the “File -> Account” menu as suggested, but the issue persists only on certain devices.

Capito. Non saprei allora. Mi era capitato lo stesso problema ed era legato all account con cui si leggeva excel, per qualche motivo era come se leggesse l'utente di Windows e non l'account con cui ero loggato su excel, avevo risolto loggandomi dal menù file dove vedi anche la licenza.

Magari prova da quel PC usando excel su web loggandoti con quell account e vedi se in quel caso va altro non saprei consigliarti ciao 

Anonymous
Not applicable

Hi @lorenzofarella ,

Gabry  response was clear and here is what I need to add. The account you are using must have “Generate” permissions to the Power BI semantic model or at least a “Participant” role in the Power BI workspace that contains the semantic model. You must have a Fabric license: Fabric (Free Edition), Pro Edition, or Premium Per User (PPU) Edition license. Also, as Gabry  mentions, you need to make sure that the logins are consistent.

Connect Excel to Power BI semantic models - Power BI | Microsoft Learn
Power BI semantic model experience in Excel - Power BI | Microsoft Learn

 

Best regards,
Albert He


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

Gabry
Super User
Super User

Ciao Lorenzo,

looks like a credential issue. Have you checked if the excel account logged in has access to the datamodel? Also excel license? Also double check wich is the account logged into excel, from the file -> account menu. Not just from the top right menu

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

Top Solution Authors
Top Kudoed Authors