Forum Discussion
No content with Web.Contents vs. Web.BrowserContents
Hi Anonymous ,
Sometimes, when you migrate your queries from Power Query in desktop tools to the dataflow, you get an error saying that a module is disabled in this context. One example of this situation is when your query uses functions such as Web.Page or Web.BrowserContents.
Reason:
Disabled modules are related to functions that require an on-premises data gateway connection to work. Even if the function is getting data from a webpage, because of some security compliance requirements, it needs to go through a gateway connection.
Resolution:
In power bi service, you need to configure gateway for your data source first. If you do not have a gateway, you can download from here.
Then refresh power query editor in the dataflow, you will get the same result which has been shown in power bi desktop.
Reference:
Expression.Error: The module named 'xyz' has been disabled in this context
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.