PowerBi Workspace无法访问Azure Synapse SQL无服务器视图

发布于 2025-02-10 09:14:03 字数 1004 浏览 0 评论 0原文

我正在连接到位于PowerBi数据集的Azure Synapse帐户中的SQL无服务器端点。我正在阅读一个由数据湖中一些镶木文件组成的SQL视图。

使用PowerBi桌面时,我可以连接到数据罚款,因为它使用了我的Active Directory帐户。但是,既然我已经将报告发布给了在线的PowerBi Workspace,供我组织中的其他用户发布,我想每天将其刷新数据集,而不必自己发布。

使用在线刷新设置,我可以使用基本身份验证(用户名/密码)连接到SQL,但是看起来PowerBi呈现视图时,它也正在检查基础数据库数据的凭据,该数据无法访问:

Microsoft SQL: Cannot find the CREDENTIAL 'https://mydatalake.dfs.core.windows.net/parquet/**', because it does not exist or you do not have permission. Could not use view or function 'dbo.MyView' because of binding errors.

对于我的PowerBi工作空间权限读取此视图(以及基础数据纳克文件)的最佳方法是什么?

我也感到困惑的是,在Powerbi Workspace中i 的选项来安排此数据集,但是在发生了几次失败的尝试之后,它现在说明了:

You can't schedule refresh for this dataset because the following data sources currently don't support refresh:

“:”之后没有任何东西。因此,现在看来我无法尝试连接。

我将PowerBi工作区设置为链接服务,但这似乎无济于事,因为我认为这只是用于连接到工作区而不是相反的突触。

我在玩弄让Synapse将视图数据复制到SYPASE的SQL数据库的想法,因此可以更容易地共享 - 但我的偏爱是避免使用此额外的层。

I am connecting to a SQL Serverless endpoint located in my Azure Synapse Account for my PowerBI Datasets. I am reading a SQL view that is composed of some parquet files in my data lake.

I am able to connect to the data fine when using PowerBI Desktop since it is using my Active Directory account. But now that I have the report published to a PowerBI Workspace online for other users in my organization I want to have it refresh the dataset daily without having to publish it myself.

Using the online refresh settings I am able to connect to SQL just fine using basic authentication (username/password) but it looks like when PowerBI renders the view it is also checking the credentials for the underlying datalake data which it does not have access to:

Microsoft SQL: Cannot find the CREDENTIAL 'https://mydatalake.dfs.core.windows.net/parquet/**', because it does not exist or you do not have permission. Could not use view or function 'dbo.MyView' because of binding errors.

What is the best way for me to give my PowerBI Workspace permissions to read this view (along with underlying datalake files)?

I'm also puzzled that in PowerBI Workspace I had options to schedule this data set but after a few failed attempts it now states:

You can't schedule refresh for this dataset because the following data sources currently don't support refresh:

And there is nothing after the ":" so now it appears I cannot attempt to connect anymore.

I have the PowerBI Workspace set as a linked service but that does not seem to help since I believe that is only for Synapse to use to connect to the workspace and not the other way.

I was toying with the idea of having Synapse copy the view data to a SQL database outside of Synapse so it can be shared more easily - but my preference would be to avoid this extra layer.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文