The CreatorCon Call for Content is officially open! Get started here.

Can't create Azure Cloud discovery schedule from a Management Group

KALED
Tera Contributor

We are able to run Azure Cloud discovery when the schedules are created on subscriptions, but when we try to create Schedules on Management Groups, the feature is not working.

 

We create the Management Group (MG) through which we need to run Azure Cloud Discovery, we then click "Refresh Sub Accounts" in the related lists, we get this error: 

Screenshot 2024-05-23 at 10.36.38 PM.png

In the Pattern's logs, we have this error :

Screenshot 2024-05-23 at 10.40.40 PM.png

Error: 2024-05-17 10:23:44: Exception occurred while executing operation Cloud REST - add response to context. Custom operation Failed to run script due to the following error: JAVASCRIPT_CODE_FAILURE: Exception occurred when making http call to the provider. Cause: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (script_include:AzureApiCommand; line 136)

 

So we are not able to get the list of subscriptions from the MG. This make it impossible to go further and create a cloud discovery schedule from it.

 

Is it related to an issue with a certificate like shown in the pattern logs ? or is it probably due to the version of azure api used by the pattrer (old from 2018 ?)

 

Thanks in advance for the help,

 

0 REPLIES 0