Forum Discussion
Certificate Chain Not Trusted Error Effecting PowerBI Only
- 8 years ago
This ended up being a fairly easy solution, in order to work around this issue I ended up just having to switch the connection type from MSFT account to Windows for any who encounter this issue in the future.
This worked for me too.
For those who want more detailed instructions:
- Open your Power BI Desktop app
- Click 'File'
- Click 'Options and Settings'
- Click 'Data Source settings'
- Select the offending SQL server instance, from the list of data sources
- Click 'Edit permissions' button at base of prompt screen
- In this new prompt screen, under the 'Credentials' section, click the 'Edit' button to open a new prompt and select 'Windows'
- Select either 'Use my current credentials' or 'Use alternate crednetials' (up to you, I just used mine)
- Click' Save' button to close this prompt and return to the 'Edit Permissions' prompt screen.
- In here there is an 'Encrypt connections' option. If your server accepts encrypted connections this will need to be ticked, mine doesn't and so I left it blank.
- If you're not sure, don't worry. When you click 'Refresh All' a prompt will tell you if you need to be unencrypted and you can come back and untick this box.
Does anyone know why this works?
In my organisation, my windows account is used as my MS account, so it is the same thing, so why does the MS option not work. It used to work, and has done for over a year, and what is more the Power BI cloud service data model continued refreshing, using the MS account, fine, whilst the desktop one refused too. Spoke with head of IT and he is is equally flummoxed, saying that becuase we use our windows accounts as our orgnisational MS ones, they're the same thing and so there should be no issue...feels like a Power BI glitch to me!
This worked for me .