Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Transfer Dataset including RLS to new Workspace

Hi there,   I want to transfer a Dataset to another workspace without losing all the groups in the security settings. I already tried to do it via a pipeline but it seems like the groups are still ...
  • ibarrau's avatar
    2 years ago

    Hi. I don't think it's possible to copy the asigned mails or groups to roles. You can move a report with its dataset from one workspace to another using the Power bi rest API. However, that will be like downloading and uploading the pbix of the file. I mean, it will have the exact same report with the roles created, but the assignments for the groups or mails at security settings can't me migrated. You need to do it manually.

    Here an example of moving between workspaces using a python library for the pbi rest api: 

    https://blog.ladataweb.com.ar/post/697833112208539648/simplepbipython-copiar-pbix-entre-áreas-de

    I hope that helps,