Forum Discussion
Admin - Groups GetUnusedArtifactsAsAdmin API
Hi All, While using "Admin - Groups GetUnusedArtifactsAsAdmin", I wondered if it also accounts for the usage of reports that are embedded in SharePoint or any other site. Has anybody used this API before?
Thanks in Advance!
Regards,
Max
3 Replies
- ibarrauSuper User
Hi. It doesn't specify, maybe you can test it embedding a random report to try. The request just says: "Returns a list of datasets, reports, and dashboards that have not been used within 30 days for the specified workspace. This is a preview API call."
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/groups-get-unused-artifacts-as-admin
I hope that helps,
- AnonymousNot applicable
Well, this seems to be the only approach as of now, will try & update.
- v-yueyunzh-msftCommunity Support
Hi, Anonymous
According to your problem description, my understanding of the "embed in sharepoint" function is that even if you embed this report on SharePoint, but you need to give permissions for this report in Power BI, if you do not have permissions to the corresponding report, then the user on the SharePoint page can not see the corresponding report, need AAD permission verification, so for the rest API you said" GetUnusedArtifactsAsAdmin" It is not directly related to the "embed in sharepoint" feature, and all permissions (including for reports, workspaces, and datasets) are given in Power BI.
For more information, you can refer to :
Embed a report web part in SharePoint Online - Power BI | Microsoft LearnThank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly