10

I am new to PowerBI. I am trying to implement "App owns data" i.e. embed reports within my web application. I am following this article https://learn.microsoft.com/en-us/power-bi/developer/embed-sample-for-customers

I have downloaded the sample app and I am following the steps. However currently I am stuck at the WorkspaceId. Where can I find the workspaceId? I have looked at all the screens in PowerBI and the associated Azure account but not able to find it

devanalyst
  • 1,348
  • 4
  • 28
  • 55

5 Answers5

7

WorkspaceID is the ID of the workspace which you can find from the url of your browser when you select a specific workspace.

It is in this format : https://app.powerbi.com/groups/WorkspaceID/

Trisa Biswas
  • 555
  • 1
  • 3
  • 17
  • 8
    Unfortunately, they seem to have changed that link. I now get "https://app.powerbi.com/groups/me/list/dashboards". Not exactly helpful... – MBentley Sep 03 '19 at 14:04
1

This isn't a great answer, but it might work for you.

Click on Workspaces on the left menu on the Power BI site, navigate to the App Workspace you want to find the ID of, click on the ... ellipsis, and choose Members.

Menu Screenshot

When I click on this, it takes me to an Outlook site that has the ID as part of the URL.

Outlook

For me, the Files and Conversations options also go to pages where I can extract the ID from the URL.

Alexis Olson
  • 38,724
  • 7
  • 42
  • 64
1

You can find the workspace ID in the Admin portal settings by selecting Details next to the workspace name.

enter image description here

Source: https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers?tabs=node-js#workspace-id

Eduardo Mior
  • 156
  • 2
  • 10
0

This may not be what you were asking but if you want to use the Workspace ID (or any other identifier such as a friendly name, you could add a parameter and when publishing to the workspace, set the value of the parameter to the required value (workspace ID/name). We are using this to identify DEV/TEST/PROD workspaces within our reports.

0

A better method is checking the session storage in the browser where you have the workspace. The workspace id is saved as wid and under idTokenClaims object.

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
Godchi
  • 1