Forum Discussion

david_gray's avatar
3 years ago

Advice on HTML widget

Hello

I would like to display a simple PowerBI (PBI) dashboard in an HTML widget in a LogicMonitor (LM) dashboard. I have added (I think) 

the widget as it states in the help section however I get an error message like this:"app.powerbi.com refused to connect."

What credentials does the dashboard run under if not my own logged in account?  I will have to grant these credentials read 

access in the PBI report/gateway. 

Thanks 

  • 16 hours ago, Stuart Weenig said:

    The dashboard loads in your local browser, so it will not use LM credentials at all, rather, your own. This means that everyone that wants to see the report is LM will have to have access to the underlying link in PowerBI. Also, pay attention to PowerBI's CORS policy to make sure it allows embedding content in a web page hosted on a different domain (logicmonitor.com). 

    Hi Stuart, 

    Ok that's what I thought.  I'm logged into LM in Chrome and the call to PBI uses my login credentials which are definitely privileged in PBI.   I am aware of the CORS 

    policy (though I don't fully understand it) so have a meeting scheduled with a PBI specialist in my company later this week.  I will post back here for completeness 

    the result and if the HTML widget works. ?

    Thanks for your response. 

    Regards

    Dave

     

  • Anonymous's avatar
    Anonymous

    The dashboard loads in your local browser, so it will not use LM credentials at all, rather, your own. This means that everyone that wants to see the report is LM will have to have access to the underlying link in PowerBI. Also, pay attention to PowerBI's CORS policy to make sure it allows embedding content in a web page hosted on a different domain (logicmonitor.com).