When running a website you will want to verify all your pages are up and responsive….At a high level this interaction is called “availability monitoring” and while there are several tools that do this; this post will show you how to get availability monitoring using Application Insights against a Power BI publish to web results.
Unfortunately by default Visual Studio Web Tests fail with the error: Request failed: Invalid URI: The format of the URI could not be determined.
In order to do availability monitoring against Power BI publish to web results and you need to disable the property
Parse dependent requests = When enabled, embedded resources, such as links and images, are parsed and requested.
Step 1. Open the Azure Portal and open Application Insights
Step 2. Create a new Application Insights application
Step 3. Navigate to Web Tests in Application Insights
Step 4. Add a new Web Test
Step 5. Create the new web Test
As mentioned earlier by default Application Insights will fail an availability test with the error:
Request failed: Invalid URI: The format of the URI could not be determined.
Since you have no control over the return and really only interested in an HTTP failure you can get around this by disabling the Parse Dependent Requests.
If you don’t have a handy report already published to web you can find a bunch on the community website: https://community.powerbi.com/t5/Data-Stories-Gallery/bd-p/DataStoriesGallery