Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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 ?

 

 

8 REPLIES 8
robsyndeo
New Member

In an extremely unhelpful move MS have updated app.powerbi and the worksapce id no longer appears in the URL. I can't empahsise enough how unhelpful this move is for us.

Soumith_Shroff
New Member

When you click on https://app.powerbi.com/  and click on your workspace, it opens up your workspace and you're then taken to your workspace through a url which looks like: https://app.powerbi.com/groups/1234/list. Your GUID is all the characters betweens the two slashes after the word 'groups' and before the word 'list'.
For the example url I've shown here, the GUID is 1234.

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
Employee
Employee

@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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors