Forum Discussion
pgromski
8 years agoFrequent Visitor
App owns data Sample - Azure Problem
Hi everyone. I try to get sample report in App owns data Sample. I think i did everything with instruction. 1. I have PowerBI Pro user 2. Created workspace with sample report in app.powerbi.com...
- 8 years ago
Solution:
You need to add key from Cloud.config to Web.config. Easiest Copy-> Past.
peekay
7 years agoNew Member
Just wanted to add the solution that worked. I added the following in my web.config and republished my app. After that, i restarted my app and it worked. Happy!
Add this code below to web.config (code comes from cloud.config ....\PowerBI-Developer-Samples\PowerBI-Developer-Samples-master\App Owns Data\PowerBIEmbedded_AppOwnsData\CloudConfigs\Power BI Global:)
<appSettings>
<add key="authorityUrl" value="https://login.windows.net/common/oauth2/authorize/" />
<add key="resourceUrl" value="https://analysis.windows.net/powerbi/api" />
<add key="apiUrl" value="https://api.powerbi.com/" />
<add key="embedUrlBase" value="https://app.powerbi.com/" />
</appSettings>