我正在尝试使用POST方法和PowerShell脚本刷新power bi数据集,但一直收到关于媒体类型的错误,所以不确定在这里做什么。只是好奇是否有人对此有任何解决方案。提前感谢你的帮助!!# It then calls the Power BIAPI to progammatically to get the refresh history for that dataset} else {
$groupsPath = "myorg/
但是,当我尝试从C# webapi代码进行刷新时,我得到了下面提到的错误。Error Message:
The remote server returned an error: (401) Unauthorized.进行刷新时,它会崩溃,并出现上述错误。It will be used to call Power BI APIs.://api.powerbi.com/v1.0/myorg/groups/{0}