@Satheesh K Thanks for reaching out.
To resolve the issue, I will suggest you to go to the designer of your logic app and click on Change connection and add the connection details again.
As per the error looks like from the code view the host property was removed from your Get blob content (V2) action input property or the issue with the $connection parameter (removed or deleted value) which would cause this issue.
{
"actions": {
"Get_blob_content_(V2)": {
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['azureblob_1']['connectionId']"
}
},
"method": "get",
"path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent('AccountNameFromSettings'))}/files/@{encodeURIComponent(encodeURIComponent('{content}'))}/content",
"queries": {
"inferContentType": true
}
},
"metadata": {
"{metadata}": "/{container}/{file name with extension}"
},
"runAfter": {},
"type": "ApiConnection"
}
},
},
"parameters": {
"$connections": {
"value": {
"azureblob_1": {
"connectionId": "/subscriptions/{subscriptionID}/resourceGroups/{resourcegroup}/providers/Microsoft.Web/connections/azureblob-7",
"connectionName": "azureblob-7",
"id": "/subscriptions/{subscriptionID}/providers/Microsoft.Web/locations/{region}/managedApis/azureblob"
}
}
}
}
}
Feel free to get back to me if you need any assistance.
Update:
Thanks for your offline discussion. The issue was observed with the preview designer view which was causing this behavior. We switch back to the old designer view to resolve the issue. I will repro the behavior and will raise the issue internally with my team.
We further reviewed the workflow and fixed your append array value to get all blob content from multiple blobs and attach them as attachments while sending the email.
Code View:
{
"ContentBytes": "@{body('Get_blob_content_(V2)_2')?['$content']}",
"Name": "@{items('For_each')?['Name']}"
}
After the above changes the issue was resolved and you have tested the same at your end.
We further discuss deploying the ARM template with system assigned identity and suggested you to review the document here. In case if you need any assistance with managed identity using ARM template feel free to engage us on a new QnA thread.
Please "Accept Answer" if the answer is helpful so that it can help others in the community.