When reading the Microsoft documentation Microsoft Entra authentication for Application Insights it is possible to configure authenticated telemetry using RBAC but when I want also to configure Availability tests then this is an unsupported scenario according to the documentation.
For me it is not very clear why this is the case. I’ve looked for additional documentation on this subject but can’t find much. Are there any alternatives for this omission?
2
Answers
Let’s break this down.
string. This prevents other parties from sending bogus telemetry to your AI resource since they don’t have the right RBAC permissions.
So, it is not an omission as you put it. It just doesn’t make sense to be able to use RBAC for the availability tests. That could only work if your application would support authentication using a managed identity.
I think documentation is somewhat confusing.
Availability Tests don’t require Microsoft Entra auth to ingest results into Application Insights. So, even if local auth is disabled the availability results will continue to be ingested (since it is internal to Azure).
Availability Tests themselves cannot use Microsoft Entra (or any other auth) to authenticate against websites they’re pinging. This is probably what documentation implied.