Forum Discussion
kramaswamy7
4 years agoRegular Visitor
Struggling to understand authentication with Web.Contents
Hi all, I've seen a ton of threads explaining how to properly configure Web.Contents to work with Power BI Online - but all those threads refer to authentication that occurs within the header, or...
Anonymous
4 years agoNot applicable
Hi kramaswamy7 ,
If you have a Web connector script that's using the Web.Page function, and you have updated your dataset or report after November 18th, 2016, you must use a gateway for refresh to work properly.
Web.BrowserContents is similar in function to Web.Page, if you only use Web.Contents, there is no need for a gateway.
For more information,you can refer to:
Revisiting Dynamic Web.Contents()
Web.Contents(), M Functions And Dataset Refresh Errors In Power BI
Dynamic Web.Contents() and Power BI Refresh Errors
Hope it helps,
Community Support Team _ Caitlyn
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.