Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.