Forum Discussion
Trisped
7 years agoNew Member
Power BI Embedded authorityUrl is null
I setup the PowerBI-Developer-Samples and configured the AppOwnsData project to run on my computer without issues. When I published the website to our web server the AuthorityUrl is null. Looking a...
- 7 years ago
Thanks MAK89.
I ended up finding the Cloud.config file while poking around the project files. All I had to do was include the file in the project and set the "Copy to Output Directory" to "Copy always". This copied the settings into the output folder when I published the project.
MAK89
7 years agoFrequent Visitor
You can do this in web.config in <appSettings></appSettings>
<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>
- Trisped7 years agoNew Member
Thanks MAK89.
I ended up finding the Cloud.config file while poking around the project files. All I had to do was include the file in the project and set the "Copy to Output Directory" to "Copy always". This copied the settings into the output folder when I published the project.