Introduction

This repo contains samples for calling the Power BI REST APIs using PowerShell. Each PowerShell script is self-documenting.

  • manageRefresh.ps1 - progammatically trigger scheduled refresh and check refresh history

  • rebindReport.ps1 - programmatically clone a report in the Power BI service and rebind it to a different dataset

Prerequisites

To run the scripts in this repo, please install PowerShell and the Azure PowerShell cmdlets

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.