Embed an Azure Data Explorer Dashboard in iFrame

Anonymous
2023-03-21T11:45:39.9966667+00:00

I am working on a custom React app. I am using MSAL to log in the user.

Furthermore, I have a page that embeds an iFrame and shows Azure Data Explorer (the user is automatically logged in).

I now want to embed a dashboard in an iFrame directly into a different page, but I can't seem to find any documentation if that is possible or not.

Connecting to the Azure Data Explorer, you also need information about your cluster, I am not sure if the same would be required for the dashboards only. I tried using the same method that I used for Data Explorer (using event listeners for the 'message' event), but sadly it did not work.

Any help would be greatly appreciated, thanks in advance!

Edit:

I have set the 'src' to the dashboard URL, sadly it didn't help.

Here is the documentation I followed.
If I open the Query tab I get this :

User's image

But if I supply the dashboard link, following every step in the instructions, I get this:

User's image

Trying to search those links in the GET requests, as well as trying to find them in the App permissions, yields 0 results.

Here are my App Permissions:

User's image

I have set the 'src' to the dashboard URL, sadly it didn't help.

Here is the documentation I followed.
If I open the Query tab I get this :

User's image

But if I supply the dashboard link, following every step in the instructions, I get this:

User's image

Trying to search those links in the GET requests, as well as trying to find them in the App permissions, yields 0 results.

Here are my App Permissions:

User's image

I am not sure where to proceed from here now.

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
576 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Michael J. Bean 0 Reputation points
    2023-03-21T12:21:17.41+00:00

    Have you set the 'src' attribute of the iFrame to the URL of the dashboard, and provide the required authentication information? Regarding the event listener approach that you tried, it's possible that the dashboard doesn't use the same messaging mechanism as Azure Data Explorer. The specifics will depend on the dashboard. Sorry if this didn't help.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.