Samples/Refresh-Dataset.ps1
$clientId = "" # The ID of the Application ID of the App Registration in Azure AD $redirectUri = "" # One of the redirect URIs provided in the App Registration in Azure AD $workspaceId = "" # insert workspace id of dataset here (get from url on app.powerbi.com) $datasetId = "" # insert dataset id here (get from url on app.powerbi.com) $authHeader = Get-AuthorizationHeader -ClientId $clientId -RedirectUri $redirectUri Update-Dataset -AuthorizationHeader $authHeader -GroupID $workspaceId -DatasetID $datasetId |