PowerBI Service error: 'The remote certificate is invalid according to the validation procedure'
Last edited: 8/12/2026
在微软的 PowerBI 服务中,计划刷新可能会失败,并出现以下错误:DataSource.Error: An error happened while reading data from the provider: 'The remote certificate is invalid according to the validation procedure.'
🌐 Scheduled refreshes in Microsoft's PowerBI Service may fail with the following error:
DataSource.Error: An error happened while reading data from the provider: 'The remote certificate is invalid according to the validation procedure.'
这为什么会发生? #
🌐 Why does this happen?
PowerBI 服务对基于云的刷新会强制执行 SSL 证书验证,但默认情况下不会信任 Supabase 的自签名 CA 证书。即使在 Power Query 中关闭了“使用加密连接”,服务环境在自动刷新时仍可能会强制进行验证。
🌐 PowerBI Service enforces SSL certificate validation for cloud-based refreshes but does not natively trust Supabase’s self-signed CA certificates. Even if 'Use encrypted connection' is disabled in Power Query, the Service environment may still enforce validation during automated refreshes.
如何解决这个问题 #
🌐 How to resolve this
你可以用以下方法之一来解决这个问题:
🌐 You can resolve this using one of the following methods:
- 部署本地数据网关: 在你可以控制证书存储的主机上(例如虚拟机)安装 PowerBI 网关。从 数据库设置 下载 CA 证书,并将其安装到机器的 受信任的根证书颁发机构 存储中。配置 PowerBI 服务通过此网关执行刷新。
- 使用中间存储: 自动将你的数据导出到 PowerBI 原生支持的外部来源,比如 Azure Blob 存储,或者网站服务器上的 CSV 文件。然后让 PowerBI 连接到这个中间来源,而不是直接连接 Postgres。