Can't create Azure Cloud discovery schedule from a Management Group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 02:43 PM
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:
In the Pattern's logs, we have this error :
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,