After replacing an expired SSL certificate on Power BI Server, we were no longer able to browse the site – we received an error that “The report server isn’t configured properly… The report server Web Portal URLs and Web Service URLs don’t match”:
We hadn’t changed the Power BI Server settings aside from updating the certificate, but now couldn’t load the site without getting this error message.
We were able to resolve it by manually updating both URLs (Web Service and Web Portal) in Report Server Configuration Manager to the Fully Qualified Domain Name (FQDN) – normally, the HTTP version of the URL is set to “All Assigned” (and shows the server name) and the HTTPS version shows the name on the certificate (in our case, both the old and new certificate had the FQDN). This is how it looked on the other servers that worked:
No obvious errors, but manually changing the HTTP URL for both Service and Portal to FQDN fixed the Power BI Server site – things started to work again instantly. This bothered me, though – none of the other servers needed this setting changed, and they were all perfectly fine with the server short name in the HTTP URL.
The issue ended up being Internet Information Services installed on the same server – even though the primary site was disabled, it was bound to port 80 on all IPs without a host name, so it was claiming the “HTTP://+:80” that Power BI Server was also trying to bind. Because this bind was failing, Power BI couldn’t register matching URLs and gave us the error.
To resolve it, we added a phony hostname to the Default Web Site in IIS (even though it was stopped and shouldn’t have caused an issue) so that that it didn’t claim everything at Port 80:
Once this was done, we set the Power BI configuration back to “All Assigned” and it re-registered its own URLs, and then things started working perfectly again. I’m not sure if IIS was installed by our server admins during our certificate update, or if some other configuration change caused IIS to change how it registered the URL, but this resolved this issue.
Hopefully it helps somebody else!
3 thoughts on “Power BI Server – Resolving “Web Portal URLs and Web Service URLs don’t match””
I had the same error, but my problem was that there was an extra binding in Web Portal URL for https://localhost:443/reports
This binding could not be removed through the interface. I had to strip out the 4 url lines from the C:\Program Files\Microsoft Power BI Report Server\PBIRS\ReportServer\rsreportserver.config file and restart the power bi server service in the Report Server Configuration Manager interface. Once this extra binding was removed, the web services and web portal urls matched.
Thanks for sharing this detail – I had seen a very similar error when I renewed my SSL certificate and didn’t get the site URL list exactly right, so it seems there are a few different ways to get this error. Glad you were able to get it resolved.
I work with SQL 2019