Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .NET Core/Embed for your organization/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

### Set up a Power BI app

1. Register an Azure AD app using the [Power BI embedding setup tool](https://app.powerbi.com/embedsetup). For more information see [Register an Azure AD application to use with Power BI](https://docs.microsoft.com/power-bi/developer/embedded/register-app).
1. Register an Azure AD app following the instructions [here](https://go.microsoft.com/fwlink/?linkid=2134543#register-your-app).

2. Verify that your Azure AD app have the **Read all datasets** and **Read all reports** permissions.

Expand Down
2 changes: 1 addition & 1 deletion .NET Framework/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Follow the steps on [aka.ms/EmbedForCustomer](https://aka.ms/embedforcustomer)

## Set up a Power BI app

1. Register an Azure AD app using the [Power BI embedding setup tool](https://app.powerbi.com/embedsetup). For more information see [Register an Azure AD application to use with Power BI](https://docs.microsoft.com/power-bi/developer/embedded/register-app).
1. Register an Azure AD app following the instructions [here](https://go.microsoft.com/fwlink/?linkid=2134543#register-your-app).

2. Verify that your Azure AD app have the **Read all dashboards**, **Read all reports**, and **Read all workspaces** permissions.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// Refer https://aka.ms/PowerBIPermissions for complete list of Power BI scopes

// URL used for initiating authorization request
export const authorityUrl: string = "https://login.microsoftonline.com/common/";
export const authorityUrl: string = "https://login.microsoftonline.com/";

// End point URL for Power BI API
export const powerBiApiUrl: string = "https://api.powerbi.com/";
Expand All @@ -24,4 +24,7 @@ export const clientId: string = "";
export const workspaceId: string = "";

// Id of the report to be embedded
export const reportId: string = "";
export const reportId: string = "";

// Directory (tenant) ID of the AAD app
export const tenantId: string = "";
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function generateMsalConfig() {
const msalConfig = {
auth: {
clientId: config.clientId,
authority: config.authorityUrl,
authority: `${config.authorityUrl}${config.tenantId}`,
redirectUri: "http://localhost:3000",
},
cache: {
Expand Down
3 changes: 2 additions & 1 deletion React-TS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

## Embed a Power BI report

1. Register an Azure AD app using the [Power BI embedding setup tool](https://app.powerbi.com/embedsetup). For more information see [Register an Azure AD application to use with Power BI](https://docs.microsoft.com/power-bi/developer/embedded/register-app).
1. Register an Azure AD app following the instructions [here](https://go.microsoft.com/fwlink/?linkid=2134543#register-your-app).

2. Verify that your Azure AD app have the **Read all reports** permissions.

Expand All @@ -32,6 +32,7 @@ To embed a report the following details must be specified within Config.ts:
| clientId | Id of the AAD application registered as a Server-side app |
| workspaceId | Id of the Power BI workspace where the report is hosted |
| reportId | Id of the report to be embedded |
| tenantId | Directory (tenant) ID of the AAD application |

3. Open terminal and install required dependencies by executing the following command:<br>
`npm install`
Expand Down