Power BI +触发即时订阅电子邮件

时间:2019-12-10 14:31:59

标签: powerbi

我正在尝试通过网络电话触发即时订阅以通过电子邮件发送报告。

我能够通过C#成功获取Micosoft Auth令牌并生成必要的有效载荷

{"message":"This is a test of the AutoRun feature","recipients":["XXX@XXX.XXX"],"share":true,"subject":"PowerBIAutoRun","subscriptionTitle":"Page 1","subscriptionOwnerFullName":"XXX","subscriptionOwnerEmailAddress":"XXX@XXX.XXX","subscriptionObjectId":"GUID","reportEmailInfo":{"reportName":"PoweBIAutoRun","displayName":"Page 1","sectionId":000000,"sectionName":"ReportSection","sectionWidth":1280,"sectionHeight":720,"reportObjectId":"GUID"}}

但是,我遇到了未授权(401)错误。我模仿了除ReferrURL之外的所有标头。有人在这方面取得成功吗?

0 个答案:

没有答案