{"id":13800344,"url":"https://github.com/ferrybouwman/Power-BI-Read-Only-REST-API","last_synced_at":"2025-05-13T09:31:34.472Z","repository":{"id":51225372,"uuid":"325276314","full_name":"ferrybouwman/Power-BI-Read-Only-REST-API","owner":"ferrybouwman","description":"Solution based on either Powershell or Power Automate (Flow) to consume the recently released Power BI Asynchronous Unified Scanning API","archived":false,"fork":false,"pushed_at":"2022-11-08T13:18:03.000Z","size":77,"stargazers_count":17,"open_issues_count":3,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-18T15:52:11.028Z","etag":null,"topics":["flow","microsoft-flow","pbi","powerautomate","powerbi","powershell","rest-api"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ferrybouwman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-29T12:06:34.000Z","updated_at":"2024-08-05T19:43:17.000Z","dependencies_parsed_at":"2023-01-22T11:31:00.004Z","dependency_job_id":null,"html_url":"https://github.com/ferrybouwman/Power-BI-Read-Only-REST-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferrybouwman%2FPower-BI-Read-Only-REST-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferrybouwman%2FPower-BI-Read-Only-REST-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferrybouwman%2FPower-BI-Read-Only-REST-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferrybouwman%2FPower-BI-Read-Only-REST-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ferrybouwman","download_url":"https://codeload.github.com/ferrybouwman/Power-BI-Read-Only-REST-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253913115,"owners_count":21983260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flow","microsoft-flow","pbi","powerautomate","powerbi","powershell","rest-api"],"created_at":"2024-08-04T00:01:11.661Z","updated_at":"2025-05-13T09:31:31.961Z","avatar_url":"https://github.com/ferrybouwman.png","language":"PowerShell","funding_links":[],"categories":["Samples, Templates and Solutions"],"sub_categories":["Power Platform (Microsoft)"],"readme":"# Powershell \u0026 Power Automate (Flow) to consume Power BI Asynchronous Unified Scanning API\nThis solution provides a basis for your Power BI monitoring needs, based on the newly released Admin APIs. I created the solution in Power Automate and in Powershell for you, choose one!\n\nBenefits of the new API:\n1) It's easy to setup: only an application registration in Azure AD, security group and Power BI Admin setting, no per workspace permissions required\n2) It's easy to use: no signed in user (delegation), and thus easy to consume within Power Automate without custom connectors (HTTP connector is premium though)\n3) More secure: no admin account necessary and read-only\n4) It's fast! I read almost 6000 workspaces including metadata within minutes.\n\nFor more information about the new API, check this blog post:\nhttps://powerbi.microsoft.com/en-us/blog/announcing-new-admin-apis-and-service-principal-authentication-to-make-for-better-tenant-metadata-scanning/\n\nIn short, what the solution does:\n\n1) Retrieve list with workspace Ids which have been modified since a given date, or a full report.\n2) Split workspaces in batches of 100 and request details. \n3) Retrieve details in separate loop, since the API is asynchronous.\n4) Output to JSON file.\n\nThe solution has one dependency\n1) Created an application registration (WITHOUT API permissions in Azure AD), put in a security group and have the security group in the Power BI Admin settings enabled for the use of the read-only Admin APIs, see blog post mentioned above.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferrybouwman%2FPower-BI-Read-Only-REST-API","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferrybouwman%2FPower-BI-Read-Only-REST-API","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferrybouwman%2FPower-BI-Read-Only-REST-API/lists"}