Forum Discussion
RLS roles empty after deployment
Hi, Anonymous
The issue you're facing with the row-level security roles not being carried over during the deployment pipeline in Power BI could be caused by a few different reasons.
To resolve the issue, you can try the following steps:
Double-check the deployment process: Review the steps involved in your deployment pipeline to see if any steps might be inadvertently excluding the security roles.
Export and import roles manually: If the automated deployment is causing issues, try manually exporting the report with the roles from the dev environment and then importing it into the subsequent environments.
Verify data source connections: Ensure that the data source connections used for row-level security are valid and accessible in all environments.
Use Power BI REST API: If you're using automation scripts or tools for deployment, consider using the Power BI REST API to explicitly manage security roles during the deployment process.
Test with a smaller report: Create a smaller test report with row-level security and go through the deployment process to see if the roles are retained. This might help narrow down the issue.
Check for Power BI updates: Keep an eye on Power BI updates and documentation to see if there have been any changes or fixes related to row-level security in newer versions.