Can someone tell/suggest me if we can restrict the users/group of users to see the webpart using the iFrame on a sharepoint webpage? As currently we get the iFrame through Publish to Web option which says once the script is generated, it will be avilable to all whomsoever would have the link and doesnt give any option to put any restriction that a specific set of users can see this.
@sabhishek Unfortunately idea behind Publish to Web is that anyone with URL can access that report. What you're saying to control view to report for specific users / groups which can be done using row level security. But you can't use RLS and Publish to Web together since they are both contradicting.
If you implement RLS while you're using publish to web you will see all visuals disappear.
Can you not control access to sharepoint webpage for users / groups ? rather than implementing at power bi since you need to use publish to web.