Option list for network securtiy group list

Hello Team
We are trying to fetch the security group from clouds such as AWS and Azure.
The following is the request script and translation scripts respectively

request script:
results.siteId = input.group_name
results.zoneId = input.cloud_name

Translation script:
for(var x =0; x < data.length; x++){
results.push({name: data.name, value: data.value});
}

This above scripts works for AWS but when we try to get the security groups from AZURE we are unable to get the details
What might cause the issue in here?

Which version of Morpheus is running in your environment? The configurations you have shared work fine for me in 7.0.4.