Hello @Christian Fabián !
Thanks for the message !
I think it is very clear for Private Testing , as per documentation , and i have read it over and over
https://learn.microsoft.com/en-us/azure/azure-monitor/app/availability-private-test
You scenario is not the first one , it states clearly you need to be Public Visible
Your scenario is the disconnected One
Thats why you get the error
So kindly change your approach and you will get results :
To use this method, your test server must have outgoing access to the Application Insights ingestion endpoint. This is a much lower security risk than the alternative of permitting incoming requests. The results will appear in the availability web tests tab with a simplified experience from what is available for tests created via the Azure portal. Custom availability tests will also appear as availability results in Analytics, Search, and Metrics.
- Connect your Application Insights resource and disconnected environment by using Azure Private Link.
- Write custom code to periodically test your internal server or endpoints. You can run the code by using Azure Functions or a background process on a test server behind your firewall. Your test process can send its results to Application Insights by using the
TrackAvailability()
API in the core SDK package.
I hope this helps!
Kindly mark the answer as Accepted and Upvote in case it helped!
Regards