Forum Discussion
Data-estDog
2 years agoResolver II
Power BI - Powershell deploy, update credentials
I am new to powershell and power bi rest api. I am attemping to deploy a report, update credentials, update parameter of a .pbix file. The .pbix file uses OAuth2 via personal cloud connect, to poin...
claireelyse
2 years agoNew Member
Hi,
When I run this script under the service account I get the below error:
Invoke-PowerBIRestMethod: One or more errors occurred. ({
"code": "UnknownError",
"pbi.error": {
"code": "UnknownError",
"parameters": {},
"details": [],
"exceptionCulprit": 1
}
})
Invoke-PowerBIRestMethod: Encountered errors when invoking the command: {
"code": "UnknownError",
"pbi.error": {
"code": "UnknownError",
"parameters": {},
"details": [],
"exceptionCulprit": 1
}
}
I get this error anytime I call any of the API's that use a Gateway ID. Is there a permission I am missing on the service account? It works fine for any of the workspace/report API's.
best,