Hi. I realise this sensor has just been realised and is still in beta, however was wondering if anyway else was having problems getting it working?
I have followed all the instructions in the following articles, and checked twice. I am happy I setup all the correct tenant, subscription and client ID's and also the correct client secret;
https://www.paessler.com/manuals/prtg/microsoft_azure_subscription_cost_sensor
https://kb.paessler.com/en/topic/88625-how-do-i-obtain-credentials-and-create-custom-roles-for-the-microsoft-azure-sensors
Have tried on both our corporate network and on a standalone install directly connected to the Internet - so don't thing this is a problem with our corporate network, firewalls etc.
The sensor returns the error "The sensor could not authenticate with Azure AD. Check your credentials in the device settings or look into the sensor log for more details."
Here is a dump of sensor log;
2020-12-22 11:45:39.362268 DEBG TId 5856 Result of Sensor 14236> Response Message is: #:error.authentication_failed 2020-12-22 11:45:39.362268 DEBG TId 5856 Result of Sensor 14236> #################### Exit sensor scan #################### 2020-12-22 11:45:41.159167 DEBG TId 13600 Result of Sensor 14236> #################### Enter sensor scan #################### 2020-12-22 11:45:41.502925 DEBG TId 13600 Result of Sensor 14236> Authentication failed: ChilkatLog: ObtainAccessToken: DllDate: Jul 24 2019 ChilkatVersion: 9.5.0.79 ogging: 0 sendReqFormUrlEncoded: sendReqHeader: omitContentType: 0 sendReqHeader2: checkEstablishConnection: The connection already exists, as far as we know.. --checkEstablishConnection --sendReqHeader2 --sendReqHeader --sendReqFormUrlEncoded responseStatusCode: 401 responseCode: 401 non-success response status code. Failed. --ObtainAccessToken --ChilkatLog 2020-12-22 11:45:41.502925 DEBG TId 13600 Result of Sensor 14236> Response Message is: #:error.authentication_failed 2020-12-22 11:45:41.502925 DEBG TId 13600 Result of Sensor 14236> #################### Exit sensor scan ####################
Many thanks.
Add comment