The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
User gets "Check the database server or contact database administrator. Make sure the external database is available, and then try the operation again. If you see this message again, create a new data source to connect to the database." message.
The Excel file was created by another user with 2 Power BI Model Connections. A copy of this file is emailed to other users in the organization. Those other users can access and refresh the connection. They can add / remove columns and otherwise use the connected model without issue. Only one user has a problem (so far).
The user has Member - level access to the Workspace that holds both data models connected in the excel file. The user can access the reports attached to those models. The user can create an Analyze in Excel export from the Power BI report on the service without issue. The user can start with a blank excel file and connect to the Power BI models without issue.
From the original file with the issue, the user can delete the model connection and readd the connection. This works. However, the user has to do this everyday to get this file to work (a new version of the same file is created daily). Looking for a better solution.
The user downloaded and installed the latest Analyze in Excel updates.
I'm Stumped. Any ideas?
Solved! Go to Solution.
It seems like the issue is specific to the one user’s ability to connect to the data models within the shared Excel file, despite them having the correct permissions and being able to create new Analyze in Excel exports and connections manually without issue. Here are some potential causes and solutions to explore:
Excel stores data connection information, and this information can sometimes become corrupted or outdated, especially when files are frequently copied or transferred via email. The fact that the user can re-add the connection daily but the issue returns the next day suggests the issue may relate to the cached connection details.
Solution:
Since the issue is isolated to this one user, it’s possible that network or firewall restrictions are blocking this user from consistently accessing the external Power BI models via the pre-configured connection in the Excel file.
Solution:
Since a new version of the file is sent daily, there could be a persistent corruption in the specific Excel template or file version being sent, which is affecting only this user. The fact that re-adding the connection works indicates that the file structure itself may be problematic.
Solution:
Conflicts between Excel add-ins, particularly data-related ones, can interfere with external connections, causing the behavior you're seeing.
Solution:
If the user’s Excel installation or certain Power BI-related components are outdated, it might cause intermittent issues with model connections.
Solution:
The affected user’s local credentials for accessing Power BI may be cached incorrectly or out-of-date for this specific Excel file. When the user manually re-adds the connection, new credentials may be applied, but this doesn’t persist across sessions.
Solution:
Although the user has access to the Power BI models, there might be a misalignment with the specific dataset permissions when accessed through the shared file, possibly due to changes in the workspace or dataset security roles.
Solution:
If the user has multiple Microsoft or Azure accounts (e.g., personal and organizational accounts), Excel might be confused about which account to use when connecting to the Power BI model. This is especially likely if the user is logged into both accounts in the same session.
Solution:
Hi @Anonymous ,
Whether the advice given by Shravan133 has solved your confusion, if the problem has been solved you can mark the reply for the standard answer to help the other members find it more quickly. If not, please point it out.
Best Regards,
Neeko Tang
It seems like the issue is specific to the one user’s ability to connect to the data models within the shared Excel file, despite them having the correct permissions and being able to create new Analyze in Excel exports and connections manually without issue. Here are some potential causes and solutions to explore:
Excel stores data connection information, and this information can sometimes become corrupted or outdated, especially when files are frequently copied or transferred via email. The fact that the user can re-add the connection daily but the issue returns the next day suggests the issue may relate to the cached connection details.
Solution:
Since the issue is isolated to this one user, it’s possible that network or firewall restrictions are blocking this user from consistently accessing the external Power BI models via the pre-configured connection in the Excel file.
Solution:
Since a new version of the file is sent daily, there could be a persistent corruption in the specific Excel template or file version being sent, which is affecting only this user. The fact that re-adding the connection works indicates that the file structure itself may be problematic.
Solution:
Conflicts between Excel add-ins, particularly data-related ones, can interfere with external connections, causing the behavior you're seeing.
Solution:
If the user’s Excel installation or certain Power BI-related components are outdated, it might cause intermittent issues with model connections.
Solution:
The affected user’s local credentials for accessing Power BI may be cached incorrectly or out-of-date for this specific Excel file. When the user manually re-adds the connection, new credentials may be applied, but this doesn’t persist across sessions.
Solution:
Although the user has access to the Power BI models, there might be a misalignment with the specific dataset permissions when accessed through the shared file, possibly due to changes in the workspace or dataset security roles.
Solution:
If the user has multiple Microsoft or Azure accounts (e.g., personal and organizational accounts), Excel might be confused about which account to use when connecting to the Power BI model. This is especially likely if the user is logged into both accounts in the same session.
Solution: