Skip to content

Instantly share code, notes, and snippets.

@krishnaanaril
Created October 5, 2018 10:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krishnaanaril/fdec1fe979dd353cd04bb86474e387e3 to your computer and use it in GitHub Desktop.
Save krishnaanaril/fdec1fe979dd353cd04bb86474e387e3 to your computer and use it in GitHub Desktop.
Web.config settings for the API that generates embed tokens
<!--Id of the Azure AD application-->
<add key="applicationId" value="" />
<!--Id of the workspace where your reports reside-->
<add key="workspaceId" value="" />
<!-- The id of the report to embed. If empty, will use the first report in group -->
<add key="reportId" value="" />
<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/" />
<!-- Note: Do NOT leave your credentials on code. Save them in secure place. -->
<add key="pbiUsername" value="" />
<add key="pbiPassword" value="" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment