Forum Discussion

damit230183's avatar
damit230183
Helper II
5 months ago
Solved

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

4 Replies

    • damit230183's avatar
      damit230183
      Helper II

      Hi, Thanks for the solution.

       

      It did worked partially but partial result was also important. 

      Thanks

  • Anonymous's avatar
    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

     

  • Anonymous's avatar
    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