cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
sai2
Frequent Visitor

how to get guid of my workspace in power BI

hello   

   

   I want to get the GUID (ID) from power BI on  my workspace,I could able to get the GUID of dasboard's whch are present inside my workspace by using url.And i could not able to see the GUID URL while coming to MY WORKSPACE.

 

   Is there a way to get the GUID from My Workspace ?

 

 

6 REPLIES 6
Redcol
New Member

did you ever get an answer?

Anonymous
Not applicable

Hi Everyone,

 

I am trying to embed a report in a react-based application. When I make changes to the desktop and publish it always creates a new report without replacing the one I used in react app.

 

Any lead will be appreciated,

richbenmintz
Solution Sage
Solution Sage

 

Hi @sai2,

 

GroupId in the Rest call is not required, if you use the end point , https://api.powerbi.com/v1.0/myorg/dashboards, you will get all of the Dashboards from 'My Workspace'

 

some MS Sample Code Below

 

 

 static Dashboards GetDashboards()
{
Dashboards response = null;
//In a production application, use more specific exception handling.
try
{
//Create a GET web request to list all datasets
HttpWebRequest request = DatasetRequest("https://api.powerbi.com/v1.0/myorg/dashboards", "GET", AccessToken());

//Get HttpWebResponse from GET request
string responseContent = GetResponse(request);

JavaScriptSerializer json = new JavaScriptSerializer();
response = (Dashboards)json.Deserialize(responseContent, typeof(Dashboards));
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
return response;
}

 

 



I hope this helps,
Richard

Did I answer your question? Mark my post as a solution! Kudos Appreciated!

Proud to be a Super User!


v-sihou-msft
Microsoft
Microsoft

@sai2

 

There's no GUID for My Workspace. You can directly import the objects in your "my workspace" withouting giving any GUID. For more details, see Power BI REST API document: Import operations

 

Regards,

@v-sihou-msft

 

This is my code and we definitely need GUID (group id ) to get into my workspace,so what can i do now to get GUID of my workspace? GUID ScreenShot.PNG

 

 

@sai2

 

You will find the Group ID in the URL.

 

When you click to open the workspace, the URL will look something like this:

https://app.powerbi.com/groups/1903140f-c1d3-4c09-8dad-04ec6a9d0245/reportname

 

The text highlighted in bold is the GroupID.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors