Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
The "Viewer" role doesn't seem to be supported using this API: https://docs.microsoft.com/en-us/rest/api/power-bi/groups/addgroupuser. I get the error:
{
"error": {
"code": "UnsupportedAccessRightError",
"pbi.error": {
"code": "UnsupportedAccessRightError",
"parameters": {},
"details": []
}
}
}
After some testing, the Admin API does support the Viewer role: https://docs.microsoft.com/en-us/rest/api/power-bi/admin/groups_adduserasadmin
Why doesn't the non-admin API support the new Viewer role?
Thanks,
Ed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.