Queries for the EGNFailedMqttConnections table

For information on using these queries in the Azure portal, see Log Analytics tutorial. For the REST API, see Query.

Authentication error query

Authentication errors report by session name.

EGNFailedMqttConnections
| where ResultSignature == "AuthenticationError"
| summarize count() by SessionName