Issue Summary
Assume an Assets Azure import source that is configured with 10 subscription ids. When an ID is missing in Azure the whole of import fails. Ignoring the remaining valid subscriptions is logically incorrect.
The error is logged makes no sense.
This is reproducible on Data Center: yes
Steps to Reproduce
When Assets is importing all the objects of one type , it will loop through all of the configured subscriptions and process the list of objects for each. There are some paths in the code that are not appropriately wrapped with try-catch, so if an ID is missing it encounters an error and will stop processing any further valid susbcriptions for that object type.
Note that App Services is only one example; other object types are affected similarly e.g. Subscription Service
Expected Results
An error should be thrown out to highlight the issue for the missing Subscription ID and eventually import process should continue for valid IDs.
Actual Results
Import fails for valid IDs as well
Workaround
Edit the import configuration and delete invalid subscription IDs
Versions Tested
Please confirm all versions that have been tested for this issue, and indicate whether the tested version is affected or not affected, below:
Testing Requirements |
Version |
Affected Version |
Customers Reported Version |
5.12.13 - 1.9.1 |
(Yes) |
Most Recent Bug-Fix Release |
|
|
Previous Major Release |
|
|
Most Recent LTS |
5.12.16 |
(Yes) |
Previous Supported LTS |
|
|
Other Versions.. |
|
|
(Add rows as needed) |
|
|