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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sabhishek
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.

2 REPLIES 2
ankitpatira
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

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.