Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Usage of Power BI Rest API in Power Automate

Hi Everyone, I am trying to use these two Power BI Rest API's in Power Automate. Groups GetUnusedArtifactsAsAdmin Groups GetGroupsAsAdmin I know this can be done with the help of the custom conn...
  • jaweher899's avatar
    3 years ago

    To make the groupId dynamic, you can use the Power Automate flow "GetGroupsAsAdmin" API to retrieve the groupIds of all the workspaces in your organization. You can use a loop in Power Automate to iterate through each groupId and make a call to the "GetUnusedArtifactsAsAdmin" API with the specific groupId. You can store the response of each API call in a collection or data structure and use it as per your requirement.

    This way, you can retrieve the unused artifacts of all the workspaces in your organization dynamically using Power Automate.