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
Charline_74
Helper II
Helper II

Admin - Groups GetGroupsAsAdmin

Hello,

I use the api : Groups GetGroupsAsAdmin with a Synapse pipeline to retrieve and store data.

However, I can't get the description of the datasets and reports, even though the documentation says that we can get them.

Documentation : https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-groups-as-admin

Anyone know why?

1 ACCEPTED SOLUTION

Hi @Charline_74 ,

You can only get a description of the workspace level using the current API, you can't get a description of the report or the dataset. If you want to get the report and dataset description, you can use the following two REST API.

Reports - Get Report In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}

vyiruanmsft_0-1690786503001.png

Datasets - Get Dataset In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}

vyiruanmsft_1-1690786713315.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yiruan-msft
Community Support
Community Support

Hi @Charline_74 ,

Which REST API request you are trying to call? Did you expand to dataset level? Please call the request below to get it:

GET https://api.powerbi.com/v1.0/myorg/admin/groups?$expand=datasets&$top=100

vyiruanmsft_0-1690783676900.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yiruan-msft

Yes, I use the API with an expand dataset. I do get information about my dataset, but not the description.

Hi @Charline_74 ,

You can only get a description of the workspace level using the current API, you can't get a description of the report or the dataset. If you want to get the report and dataset description, you can use the following two REST API.

Reports - Get Report In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}

vyiruanmsft_0-1690786503001.png

Datasets - Get Dataset In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}

vyiruanmsft_1-1690786713315.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

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.