Forum Discussion
raghav20
2 years agoFrequent Visitor
Automate Dataset Refresh with PowerShell Scripts
Dear Members, I am trying to Automate Dataset refersh using Power shell script, which is failing and throwing following error. Invoke-PowerBIRestMethod : One or more errors occurred. At line...
lbendlin
Super User
2 years agoYou are mixing standard powershell modules and Power BI specific modules. If you use Invoke-PowerBIRestMethod then the -Url parameter must be relative. You may want to specify a body when using POST (for failure notification).