Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
I would like to know about How can I get Source Tenant Settings information in JSON format by calling Power BI REST API.
I would like to know following things to achieve what I am looking for:
1) How and where to get Power BI Rest API
2) Best way to call Rest API then convert into JSON or CSV.
3) If its JSON then is this right way to convert JSON to CSV using Power Shell script:
Get-Content -Path C:\Temp\inputfile.json | ConvertFrom-Json | Export-Csv -Path C:\Temp\outputfile.csv -NoTypeInformation
I want to create two CSV file for Source Tenant and Target Tenant then compare them if there is any difference.
Any help or suggestion would be appreciated!
Thanks
Solved! Go to Solution.
Tenants - List Tenant Settings - REST API (Admin) | Microsoft Learn
Why CSV? Keep the JSON and then use github or similar tools for the diff.
Hi @damit230183,
Just following up to see if the Response provided by community members were helpful in addressing the issue. if the issue still persists Feel free to reach out if you need any further clarification or assistance.
Best regards,
Prasanna Kumar
Hi @damit230183,
Thank you for reaching out to the Microsoft Fabric Forum Community, and special thanks to @lbendlin for prompt and helpful responses.
Just following up to see if the Response provided by community members were helpful in addressing the issue. if the issue still persists Feel free to reach out if you need any further clarification or assistance.
Best regards,
Prasanna Kumar
Tenants - List Tenant Settings - REST API (Admin) | Microsoft Learn
Why CSV? Keep the JSON and then use github or similar tools for the diff.
Hi, Thanks for the solution.
It did worked partially but partial result was also important.
Thanks
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 10 | |
| 10 | |
| 6 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 25 | |
| 18 | |
| 18 | |
| 17 |