Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Chrispi
Regular Visitor

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 lost even though the comparison in the pipeline shows that the datasets are equal. 

 

Is there a way to make this work?

 

thanks in advance

Christian

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

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,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

2 REPLIES 2
ibarrau
Super User
Super User

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,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Hi,

I was afraid that would be the answer. 

Thanks anyway

Chris

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!