Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Put Permission On iFrame Access On O365 webpage

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.

Community Champion
Community Champion

@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. 

Thanks for your response Ankit.


RLS wont be a benefit in this scenario as in my scenario either we will diplay the report or wont display it to users based on permission.


Yes , we can control the visibility from the Sharepoint however we were looking to implement this at Power BI level instead.

Helpful resources

PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors
Top Kudoed Authors