<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using Power BI APIs to get tenant overview in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-Power-BI-APIs-to-get-tenant-overview/m-p/4839551#M12645</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1364110"&gt;@FabScone75&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;I hope the information provided above assists you in resolving the issue. If you have any additional questions, please feel free to reach out.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Thank You&lt;/P&gt;</description>
    <pubDate>Wed, 01 Oct 2025 05:20:58 GMT</pubDate>
    <dc:creator>v-sdhruv</dc:creator>
    <dc:date>2025-10-01T05:20:58Z</dc:date>
    <item>
      <title>Using Power BI APIs to get tenant overview</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-Power-BI-APIs-to-get-tenant-overview/m-p/4837725#M12577</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd appreciate advice on my process and whether I am going the right way here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The project is to get an overview of our tenant, who is doing what, which workspaces we have, what reports are being built and by whom etc. To that end, we have created a process to query the Power BI Rest API on a daily basis. This we do via a pipleline with a copy data activity, that creates a json file inside a folder structure of year/month/day (eg raw_api_groups/2025/09/28/20250928.json). This is my bronze layer.&amp;nbsp; My thought was to keep a 90 day history of these json files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For silver layer, I have a Dataflow Gen2 that opens the&amp;nbsp;raw_api_groups and brings in all the json files. It combines these together, and then deduplicates based on the primary key (eg on workspaces, this would be workspace_id). I add in the source file (eg 20250928.json) as well as the ingestion_date as a column and then output this to replace the current dim_workspace table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a good process? Any suggestions in terms of improvements?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 10:23:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-Power-BI-APIs-to-get-tenant-overview/m-p/4837725#M12577</guid>
      <dc:creator>FabScone75</dc:creator>
      <dc:date>2025-09-29T10:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using Power BI APIs to get tenant overview</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-Power-BI-APIs-to-get-tenant-overview/m-p/4838036#M12593</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1364110"&gt;@FabScone75&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Below is an approach I’ve used in real tenants for “who’s doing what / where” and how I’d tweak your Bronze &amp;gt; Silver flow to make it more reliable and easier to report on later.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Collect the right signals&lt;/STRONG&gt;&lt;BR /&gt;- Use the Power BI Admin “scanner” APIs for workspace/artifact inventory and schema (&lt;A href="https://learn.microsoft.com/power-bi/enterprise/service-admin-metadata-scanning" target="_blank" rel="noopener"&gt;Metadata scanning (Scanner API)&lt;/A&gt;). Prefer &lt;EM&gt;GetModifiedWorkspaces&lt;/EM&gt; for incremental scans.&lt;BR /&gt;- Use Admin “activity events” for user actions (&lt;A href="https://learn.microsoft.com/rest/api/power-bi/admin/get-activity-events" target="_blank" rel="noopener"&gt;Get Activity Events&lt;/A&gt;) - this is the authoritative “who did what” source.&lt;BR /&gt;- Resolve users/licensing with Microsoft Graph (optional), e.g. &lt;A href="https://learn.microsoft.com/graph/api/resources/users?view=graph-rest-1.0" target="_blank" rel="noopener"&gt;Users&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Keep raw forever (cheap) and normalize early&lt;/STRONG&gt;&lt;BR /&gt;- Keep your daily JSON in a date-path forever or compact to Parquet/Delta weekly.&lt;BR /&gt;- In Silver, don’t throw away change history. Maintain an &lt;STRONG&gt;SCD Type 2&lt;/STRONG&gt; history table and a &lt;STRONG&gt;dim_workspace_current&lt;/STRONG&gt; view/table.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Use incremental + watermarking&lt;/STRONG&gt;&lt;BR /&gt;- Stamp ingestion_date from the file path and use Dataflow incremental refresh.&lt;BR /&gt;- For scanner APIs, use &lt;EM&gt;GetModifiedWorkspaces&lt;/EM&gt; with your last successful scan time.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Harden the pipeline&lt;/STRONG&gt;&lt;BR /&gt;- Service principal auth; enable read-only admin APIs (&lt;A href="https://learn.microsoft.com/en-us/fabric/admin/tenant-settings-index#admin-api-settings" target="_self"&gt;Tenant settings&lt;/A&gt;).&lt;BR /&gt;- Implement retries/backoff for 429/5xx; store API run metadata.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Model for analytics&lt;/STRONG&gt;&lt;BR /&gt;- Gold star schema: &lt;EM&gt;FactActivity&lt;/EM&gt; plus &lt;EM&gt;DimUsers&lt;/EM&gt;, &lt;EM&gt;DimWorkspaces&lt;/EM&gt;, &lt;EM&gt;DimDatasets&lt;/EM&gt;, &lt;EM&gt;DimReports&lt;/EM&gt; for easy slicing.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 14:11:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-Power-BI-APIs-to-get-tenant-overview/m-p/4838036#M12593</guid>
      <dc:creator>tayloramy</dc:creator>
      <dc:date>2025-09-29T14:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using Power BI APIs to get tenant overview</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-Power-BI-APIs-to-get-tenant-overview/m-p/4839551#M12645</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1364110"&gt;@FabScone75&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;I hope the information provided above assists you in resolving the issue. If you have any additional questions, please feel free to reach out.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 05:20:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-Power-BI-APIs-to-get-tenant-overview/m-p/4839551#M12645</guid>
      <dc:creator>v-sdhruv</dc:creator>
      <dc:date>2025-10-01T05:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using Power BI APIs to get tenant overview</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-Power-BI-APIs-to-get-tenant-overview/m-p/4841421#M12696</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1364110" target="_blank"&gt;@FabScone75&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;I hope the information provided above assists you in resolving the issue. If you have any additional questions, please feel free to reach out.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Thank You&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 10:39:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-Power-BI-APIs-to-get-tenant-overview/m-p/4841421#M12696</guid>
      <dc:creator>v-sdhruv</dc:creator>
      <dc:date>2025-10-03T10:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using Power BI APIs to get tenant overview</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-Power-BI-APIs-to-get-tenant-overview/m-p/4842141#M12716</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1364110"&gt;@FabScone75&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are not using the right approach for Audit Log. Here I can see mess everywhere.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First thing first&lt;/P&gt;&lt;P&gt;1. Use Power BI Dataflow Gen 2 to land the data in SQL database.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BhaveshPatel_0-1759570199260.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1301545i28EB26CF94420C68/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BhaveshPatel_0-1759570199260.png" alt="BhaveshPatel_0-1759570199260.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Use Microsoft Purview for the unified audit log ( Before it was called Power BI Audit Log, now they are called Fabric Unified Audit Log in Microsoft Purview. You might need to contact your Fabric Admin for that. All activities are recorded "Who is doing what and which workspace are assigned..etc" in the Audit Log.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 08:38:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-Power-BI-APIs-to-get-tenant-overview/m-p/4842141#M12716</guid>
      <dc:creator>BhaveshPatel</dc:creator>
      <dc:date>2025-10-06T08:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using Power BI APIs to get tenant overview</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-Power-BI-APIs-to-get-tenant-overview/m-p/4846595#M12813</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1364110"&gt;@FabScone75&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;Since we didnt hear back, we would be closing this thread.&lt;BR /&gt;If you need any assistance, feel free to reach out by creating a new post.&lt;BR /&gt;&lt;BR /&gt;Thank you for using Microsoft Community Forum&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 11:15:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Using-Power-BI-APIs-to-get-tenant-overview/m-p/4846595#M12813</guid>
      <dc:creator>v-sdhruv</dc:creator>
      <dc:date>2025-10-09T11:15:36Z</dc:date>
    </item>
  </channel>
</rss>

