I am trying to render some content (kind of introduction/description to the power bi report i have built) from Azure dev ops wiki page of our project. I tried to use HTML viewer to render the web page, but it is not working. I am getting an error message saying "This content cant be shown in an iframe. There is supposed to be a content here. But the publisher doesnt allow it to be displayed in an frame". Its working fine for normal web pages eg.sqlbi.
Is there way to achieve this. I also tried using Azure dev ops (beta) data source. But it shows only task, bugs or userstories.
As the HTML viewer is a custom visual, all content it tries to display is displayed in a sandboxed iframe. This means that there are a number of restrictions imposed upon it by Power BI regarding hosting external content. This is to avoid issues where people can (either deliberately or accidentally) embed potentially malicious content for the end user. The side-effect of this is that even though your intentions are honorable, this is a limitation that cannot be worked-around where custom visuals are concerned.
If your Azure DevOps wiki page does not allow embedding within an iframe, then this is something that the HTML viewer cannot work around, as it is only serving the content that Azure DevOps is returning to it in this situation. For example, YouTube has similar restrictions, whereas Vimeo does not, so Vimeo content will work but YouTube embeds won't. Most web pages probably won't have this restriction, which is why you can get them to work.
Sorry this is probably not the answer you were looking for but should hopefully clarify the limitations you're working with.
Did I answer your question? Mark my post as a solution!