Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arm template with a parameter of array type is resulting in an exception when deployed #11320

Open
ashwinvenkatesha opened this issue Oct 23, 2024 · 2 comments
Assignees
Labels
Solution Solution specialty review needed

Comments

@ashwinvenkatesha
Copy link
Contributor

Describe the bug
Arm template with a parameter of array type is resulting in an exception when deployed

To Reproduce
Steps to reproduce the behavior:

  1. When deploying data connector using arm template and createUidefn,
    use
    a. https://github.com/illumio-shield/Azure-Sentinel/blob/illumio-sentinel-array-bug/Solutions/IllumioSaaS/Data%20Connectors/azuredeploy_IllumioSaaS_FunctionApp.json#L94-L96 for arm template
    b. https://github.com/illumio-shield/Azure-Sentinel/blob/illumio-sentinel-array-bug/Solutions/IllumioSaaS/Data%20Connectors/createUiDefinition.json for createUidefn](https://github.com/illumio-shield/Azure-Sentinel/blob/illumio-sentinel-array-bug/Solutions/IllumioSaaS/Data%20Connectors/createUiDefinition.json#L207-L250

c. Deploy this using the below command
https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fillumio-shield%2FAzure-Sentinel%2Fillumio-sentinel-array-bug%2FSolutions%2FIllumioSaaS%2FData%2520Connectors%2Fazuredeploy_IllumioSaaS_FunctionApp.json/createUIDefinitionUri/https%3A%2F%2Fraw.githubusercontent.com%2Fillumio-shield%2FAzure-Sentinel%2Fillumio-sentinel-array-bug%2FSolutions%2FIllumioSaaS%2FData%2520Connectors%2FcreateUiDefinition.json

  1. This results in an internal server error.

There was an unexpected InternalServerError. Please try again later. x-ms-correlation-request-id: 44901431-c2d9-46b8-a17a-3782c1498d38 (Code: InternalServerError)

Upon removing this section

"parameters": { ... "networkTrafficLogTypes":{ "type": "array" }, ...
the deployment works as expected.

Expected behavior
Using array datatype should not result in an internal server error.

@v-sudkharat v-sudkharat added the Solution Solution specialty review needed label Oct 24, 2024
@v-rusraut
Copy link
Contributor

Hi @ashwinvenkatesha , thanks for flagging this issue, we will investigate this issue and get back to you with some updates. Thanks!

@v-sudkharat
Copy link
Contributor

@ashwinvenkatesha , Can you check with Type : string:
Image

try to deploy in different workspace to avoid resource duplication issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Solution Solution specialty review needed
Projects
None yet
Development

No branches or pull requests

3 participants