Forum Discussion
jeremyg
7 years agoAdvocate I
Powershell PowerBIMgmt - WriteError
Hi, In PowerShell, using the Microsoft.PowerBi.Management Cmdlet API, https://docs.microsoft.com/en-us/powershell/power-bi/overview?view=powerbi-ps When i want export Report with command Expo...
jeremyg
7 years agoAdvocate I
Yes, I can export the report from Powerbi service, we are looking for backup automotion,
and no issue with path, this work with other commands.
jeremyg
7 years agoAdvocate I
Connect-PowerBIServiceAccount
Get-PowerBIDatasource -DatasetId c972ee60-37c9-b446-846f-9b4224166e3e
Return same error,
but bypassed below with commands REST API, i get results
Connect-PowerBIServiceAccount
$headers = Get-PowerBIAccessToken
$Uri = 'https://api.powerbi.com/v1.0/myorg/groups/ --- [WORKSPACE ID] --- /datasets/c972ee60-37c9-b446-846f-9b4224166e3e/datasources'
Invoke-RestMethod -Headers $headers -Uri $Uri
- Anonymous7 years agoNot applicable
Hi jeremyg ,
If you use fiddler to trace powershell request, can you trace some details error message about that request?
In addition, you can also post to develop forum to get better support.Regards,
Xiaoxin Sheng
- saravanac20066 years agoNew Member
Can we get the error message in powershell which we get from fiddle during trobleshooting, i dont get much infromation except status code 400, etc
in fiddle we get like below error message
{"error":{"code":"InvalidRequest","message":"Invalid dataset refresh request. Another refresh request is already executing"}}