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
Anonymous
Not applicable

Web.BrowserContents

Hi! I retrieve data from a web page using Web.BrowserContents. It works well in Desktop but when I upload it to Report server I get the error below. Do you know what the error is due to? I have anonymous under data source.

 

The module named 'WebBrowserContents' has been disabled in this context.. The exception was raised by the IDbCommand interface.

 Can I use something else than WebBrowserContents?

 

Thanks!

3 REPLIES 3
ImkeF
Community Champion
Community Champion

You can try the Web.Contents function.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Anonymous
Not applicable

Hi! I tried but all tables are empty when I use Web.Contents... 

Hi @Anonymous ,

 

Have you granted access for Report server on Web sources?

 

https://docs.microsoft.com/en-us/sql/reporting-services/security/granting-permissions-on-a-native-mode-report-server?view=sql-server-ver15

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

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.