Forum Discussion
ADGraphGroupOperationFailed error when creating groups
Hello,
Can you share the body of the request?
Also - have you tried doing the same using the PowerBI SDK? (https://github.com/Microsoft/PowerBI-CSharp)
Request body is:
{
"name": "prm-buildout"
}
I have not used the sdk to try this as it is part of a deployment powershell script using REST. All other power bi calls work including get groups, import reports, set connections etc.
Actual response is:
{"error":{"code":"ADGraphGroupOperationFailed","pbi.error":{"code":"ADGraphGroupOperationFailed","parameters":{},"details":[]}}}
- Ran9 years agoRegular Visitor
Please try using the PowerBI SDK for trouleshooting, to make sure you properly construct the request body.
Also - if you can share the response headers, i'll be able to look it up on our side.
- brenkehoe9 years ago
Helper I
- Eric_Zhang9 years ago
Microsoft Employee
I have the same error when testing creating a group via the POST API. What I obeserved is that, meanwhile I'm not able to create a group in Power BI Service as well. The reason can be that the Exchange admin have disabled your permission to create a group, see this thread.
The same API works when I test in my another account with sufficient perssion.