cancel
Showing results for 
Search instead for 
Did you mean: 

Can't add user as "Viewer" using "Add Group User" API

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

Status: New
Comments
Community Support Team

@ed-freeman 

 

To get faster and better technical support for this issue, you may directly create a support ticket.