Forum Discussion

psaliba's avatar
psaliba
New Member
3 years ago
Solved

Invalid identifier error when removing dataset user

Using this API call I can and have removed dataset users: https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/put-dataset-user-in-group With this payload: {'identifier': <user id>, 'princ...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi psaliba,

    I think this scenario should meet the limitations listed on the API document, perhaps you can take a look on it at the first:

    Datasets - Put Dataset User In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

    In addition, the user account turns on/off should be a pain part for the permission manager, they obviously will change some global settings and properties that affect the common feature and corresponding API usages which are hard to trace and fix.

    For the above scenario, you can try to create a user group on the Azure side for API usage instead of accurate add/removing each user, it will be simpler to manage the group members.

    Regards,

    Xiaoxin Sheng