Net core application and deploying the application in Azure App Services. In my application, I have an app settings.json file with below content
"Roles": {
"Roles": [
"Admins",
"Users"
]
}
I have the below configuration in my ARM template.
Parameters.json
"Roles": {
"value": [
"Admins",
"Users"
]
}
I am trying to add values in app settings as below
{
"name": "Roles__Roles",
"value": "[parameters('Roles')]"
}
This is giving me an exception
2021-01-19T10:25:17.0538350Z ##[error]Details:
2021-01-19T10:25:17.0539754Z ##[error]undefined: HTTP request body must not be empty.
Can someone help me to fix this?