How to embed .html report into Azure Dashboard

Erika Salmon 0 Reputation points
2024-09-03T01:34:37.5333333+00:00

Hi,

Using an Azure Automation account I'm running a powershell script to produce a script for all the Service Principle key and cert expiries. However, I'm hitting a snag as it produces a .html page at the end. Is there a way to embed a .html file into an Azure Dashboard?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,241 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Gowtham CP 4,745 Reputation points
    2024-09-03T06:00:21.0433333+00:00

    Hi Erika,

    Thanks for reaching out on Microsoft Q&A!

    To embed your .html report into an Azure Dashboard, you can use a Markdown tile. Here’s what you need to do:

    Upload your .html file to Azure Blob Storage and ensure it's publicly accessible.

    Add a Markdown tile to your Azure Dashboard and use the following snippet to embed your HTML:

    <iframe src="https://<your-blob-url>/<your-html-file>.html" width="100%" height="600px"></iframe>
    

    Replace <your-blob-url> and <your-html-file> with your actual information. This will display your HTML report directly on the dashboard.

    For more details, you can refer to this Microsoft guide.

    If you find this solution helpful, please upvote and accept the answer to close the thread.

    0 comments No comments

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.