Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
damit230183
Helper II
Helper II

Tenant Settings Comparison between Source and Target

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

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Tenants - List Tenant Settings - REST API (Admin) | Microsoft Learn

 

Why CSV? Keep the JSON and then use github or similar tools for the diff.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

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

Anonymous
Not applicable

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

 

lbendlin
Super User
Super User

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

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.