Azure probe connection profile fails

book

Article ID: 192936

calendar_today

Updated On:

Products

NIMSOFT PROBES DX Infrastructure Management

Issue/Introduction

Azure probe connection profile fails with the following error in the azure.log

INFO  [Data Collector - %ProfileName%, azure] PERF: START: azure inventory update for %ProfileName%
DEBUG [Data Collector - %ProfileName%, azure] Test connection for resource[%ProfileName%].
DEBUG [Data Collector - %ProfileName%, azure] getLoginInfo() Start
DEBUG [Data Collector - %ProfileName%, azure] Test Resource Path: /resources/v=%ProfileName%/properties/
DEBUG [Data Collector - %ProfileName%, azure] getLoginInfo() Exit
ERROR [Data Collector - %ProfileName%, azure] Error getting access token
ERROR [Data Collector - %ProfileName%, azure] java.util.concurrent.ExecutionException: 
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Cause

This issue is sometimes seen when the system where the azure probe is installed is not able to access all of the Microsoft URLs

Environment

Release : 20.1

Component : UIM - AZURE

Resolution

Ensure the following URLs are accessible with any browser type (The probe needs access to URLs below to collect data from Microsoft)

https://status.azure.com/en-us/status/feed/
https://management.azure.com/
https://management.core.windows.net/
https://login.windows.net/