Forum Discussion
Initialization of data source failed - Excel Power BI connection
- Anonymous1 year ago
What we have found is that the connection string to the model appears to have a setting/variable which Microsoft have potentially removed.
Below is the old connection string used across our various Excel files, which would output the above error. Removing the part in bold appears to fix the issue.
Provider=MSOLAP.8;Integrated Security=ClaimsToken;Persist Security Info=True;Initial Catalog=<redacted>;Data Source=pbiazure://api.powerbi.com;MDX Compatibility=1;Safety Options=2;MDX Missing Member Mode=Error;Identity Provider=https://login.microsoftonline.com/common, https://analysis.windows.net/powerbi/api, <redacted>;Catalog Rebound=True;Update Isolation Level=2
Thought I'd post in case anybody was coming across the same issue, as I'm sure these connection strings were automatically generated when we set the files up.
It appears that I can't remove this "catalog Rebound = True" part in the connection string. Trying to delete it, but it automatically appears again as if it was automatically updated. Is there any other solution to the issue ?
Hi, I had the same issue. None of the suggestions worked – downgrading Office didn’t help, removing 'catalog Rebound = True' didn’t help either. What worked for me was this: I removed 'Integrated Security=ClaimsToken' from the connection string and instead used 'user ID=your@account.com'. This ties the connection to that specific account, but it solved my problem.