Forum Discussion
Subscriptions not being sent
- 1 year ago
It seems that the issue were due to performance overload as one of the tables includes images.
After removing the images the subscription works just fine.
Thanks for great answer!
I tried to create a RLS group (called FullAccess) and added my own admin user to this group. Shouldn't this work then? It doesnt đ
Hi mathiasbj
Yeah, itâs a common catch! Even if you're an admin or created the report, subscriptions still run under the RLS rules defined in the dataset not your user permissions in the workspace.
So just adding yourself to a role like "FullAccess" doesnât automatically bypass anything unless that role is set up to actually ignore filters like the "Sales Person Code". If that role still filters anything, itâll impact the subscription.
If Report2 is failing because it's trying to show all sales codes, Power BI might be blocking it due to how RLS is applied. A quick fix would be to create a role that doesnât apply any filters at all basically an âUnrestrictedâ role and use that specifically for subscriptions.
If security isnât a concern, another option is to create a copy of the dataset without RLS just for reports that need to be emailed out.
- mathiasbj1 year agoFrequent Visitor
Thanks for super quick response!
What exactly do you mean by this "... and configure the subscription or dataset access accordingly".
As I wrote before, I have already tried to make an unrestricted role called FullAccess. How do I add this to the subscription?
Actually, I also tried to remove all the RLS groups from the dataset - republish it to service - but the subscription still didn't work. If I then applied the Sales Person Code filter it worked. So somehow it seems that it still tried to fetch the RLS eventhough it has been deleted. That is very strange and Im not sure what the issue can be?- rohit19911 year ago
Super User
Hi mathiasbj
In most cases, itâs related to how Row-Level Security (RLS) is set up. Power BI subscriptions wonât send if the report renders blank under the userâs security context and RLS can sometimes filter out all data for that user, especially if you're using something like a "Sales Person Code" to limit access.
In your case, since the page without RLS works fine and others donât, thatâs a strong indicator RLS is blocking the visuals from rendering which then stops the subscription from sending.
A couple of things worth trying:
-
Temporarily remove or relax the RLS to see if subscriptions go through just as a test.
-
Double-check if the users you're testing with are definitely mapped correctly in the RLS table.
-
Also, make sure there aren't large visuals (like heavy tables or images) that might slow things down, though RLS sounds like the main issue here.
- mathiasbj1 year agoFrequent Visitor
Thanks for answering!
I tried to create a copy of the PBIX file, place it in a new workspace, remove all RLS groups, republish and make create subscription, but still nothing is being sent.
I guess its data related then. Maybe due to the relations between tables?
-