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

The renderComponentIntoRoot component encountered an error while loading in logic app consumption #5637

Open
saroja-sattigeri opened this issue Sep 11, 2024 · 3 comments

Comments

@saroja-sattigeri
Copy link

saroja-sattigeri commented Sep 11, 2024

Describe the Bug with repro steps

Go to Logic App consumption in Azure Portal

When adding a new connection getting the following error (existing connections works fine)

image

However, customer can add new connection if they access logic app consumption via old designer url https://aka.ms/lafallback

What type of Logic App Is this happening in?

Consumption (Portal)

Which operating system are you using?

Windows

Are you using new designer or old designer

New Designer

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

No response

Screenshots or Videos

No response

Browser

Chrome

Additional context

No response

@preetriti1
Copy link
Contributor

@saroja-sattigeri - This is not a 100% repro it seems, we are able to create connections without any issue in consumption. So please share customer scenario, their codeview, do they reload existing app and then add an action to create connection or just existing action a new connection and what connector they are facing this issue..
share screenshots of console logs or the console logs.

Providing more information than just connection creation failure will help us to investigate else we cannot do anything here.

@saroja-sattigeri
Copy link
Author

Hi @preetriti1 , sorry i missed to provide logic app code and screenshots.
Customer is getting mentioned error when they click on change connection (its irrespective of connectors) in new designer however, same works in old designer url.

Logic app code-
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"For_each": {
"actions": {
"Update_a_record": {
"inputs": {
"body": {
"statuscode": 861870000
},
"host": {
"connection": {
"name": "@parameters('$connections')['dynamicscrmonline_1']['connectionId']"
}
},
"method": "patch",
"path": "/datasets/@{encodeURIComponent(encodeURIComponent('orgbbd2650e.crm11'))}/tables/@{encodeURIComponent(encodeURIComponent('mse_bankdetails'))}/items/@{encodeURIComponent(encodeURIComponent(items('For_each')?['mse_bankdetailid']))}"
},
"runAfter": {},
"type": "ApiConnection"
}
},
"foreach": "@Body('List_records')?['value']",
"runAfter": {
"List_records": [
"Succeeded"
]
},
"type": "Foreach"
},
"For_each_2": {
"actions": {
"Update_a_record_2": {
"inputs": {
"body": {
"statecode": 1,
"statuscode": 861870001
},
"host": {
"connection": {
"name": "@parameters('$connections')['dynamicscrmonline_1']['connectionId']"
}
},
"method": "patch",
"path": "/datasets/@{encodeURIComponent(encodeURIComponent('orgbbd2650e.crm11'))}/tables/@{encodeURIComponent(encodeURIComponent('mse_bankdetails'))}/items/@{encodeURIComponent(encodeURIComponent(items('For_each_2')?['mse_bankdetailid']))}"
},
"runAfter": {},
"type": "ApiConnection"
}
},
"foreach": "@Body('List_records_2')?['value']",
"runAfter": {
"List_records_2": [
"Succeeded"
]
},
"type": "Foreach"
},
"For_each_3": {
"actions": {
"Update_a_record_3": {
"inputs": {
"body": {
"statuscode": 1
},
"host": {
"connection": {
"name": "@parameters('$connections')['dynamicscrmonline_1']['connectionId']"
}
},
"method": "patch",
"path": "/datasets/@{encodeURIComponent(encodeURIComponent('orgbbd2650e.crm11'))}/tables/@{encodeURIComponent(encodeURIComponent('mse_bankdetails'))}/items/@{encodeURIComponent(encodeURIComponent(items('For_each_3')?['mse_bankdetailid']))}"
},
"runAfter": {},
"type": "ApiConnection"
}
},
"foreach": "@Body('List_records_3')?['value']",
"runAfter": {
"List_records_3": [
"Succeeded"
]
},
"type": "Foreach"
},
"For_each_4": {
"actions": {
"For_each_5": {
"actions": {
"Update_a_record_4": {
"inputs": {
"body": {
"statuscode": 1
},
"host": {
"connection": {
"name": "@parameters('$connections')['dynamicscrmonline_1']['connectionId']"
}
},
"method": "patch",
"path": "/datasets/@{encodeURIComponent(encodeURIComponent('orgbbd2650e.crm11'))}/tables/@{encodeURIComponent(encodeURIComponent('mse_bankdetails'))}/items/@{encodeURIComponent(encodeURIComponent(items('For_each_5')?['mse_bankdetailid']))}"
},
"runAfter": {},
"type": "ApiConnection"
}
},
"foreach": "@Body('List_records_4')?['value']",
"runAfter": {},
"type": "Foreach"
}
},
"foreach": "@Body('List_records_3')?['value']",
"runAfter": {
"List_records_4": [
"Succeeded"
]
},
"type": "Foreach"
},
"List_records": {
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['dynamicscrmonline_1']['connectionId']"
}
},
"method": "get",
"path": "/datasets/@{encodeURIComponent(encodeURIComponent('orgbbd2650e.crm11'))}/tables/@{encodeURIComponent(encodeURIComponent('mse_bankdetails'))}/items",
"queries": {
"$filter": "mse_effectivefrom gt @{utcNow()}"
}
},
"runAfter": {},
"type": "ApiConnection"
},
"List_records_2": {
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['dynamicscrmonline_1']['connectionId']"
}
},
"method": "get",
"path": "/datasets/@{encodeURIComponent(encodeURIComponent('orgbbd2650e.crm11'))}/tables/@{encodeURIComponent(encodeURIComponent('mse_bankdetails'))}/items",
"queries": {
"$filter": "mse_effectiveto lt @{utcNow()}"
}
},
"runAfter": {
"For_each": [
"Succeeded"
]
},
"type": "ApiConnection"
},
"List_records_3": {
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['dynamicscrmonline_1']['connectionId']"
}
},
"method": "get",
"path": "/datasets/@{encodeURIComponent(encodeURIComponent('orgbbd2650e.crm11'))}/tables/@{encodeURIComponent(encodeURIComponent('mse_bankdetails'))}/items",
"queries": {
"$filter": "mse_effectivefrom lt @{utcNow()} and mse_effectiveto ge @{utcNow('yyyy-MM-dd')}"
}
},
"runAfter": {
"For_each_2": [
"Succeeded"
]
},
"type": "ApiConnection"
},
"List_records_4": {
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['dynamicscrmonline_1']['connectionId']"
}
},
"method": "get",
"path": "/datasets/@{encodeURIComponent(encodeURIComponent('orgbbd2650e.crm11'))}/tables/@{encodeURIComponent(encodeURIComponent('mse_bankdetails'))}/items",
"queries": {
"$filter": "mse_effectivefrom eq @{utcNow('yyyy-MM-dd')} or mse_effectiveto eq @{utcNow('yyyy-MM-dd')}"
}
},
"runAfter": {
"For_each_3": [
"Succeeded"
]
},
"type": "ApiConnection"
}
},
"contentVersion": "1.0.0.0",
"outputs": {},
"parameters": {
"$connections": {
"defaultValue": {},
"type": "Object"
}
},
"triggers": {
"Recurrence": {
"evaluatedRecurrence": {
"frequency": "Month",
"interval": 10
},
"recurrence": {
"frequency": "Month",
"interval": 10
},
"type": "Recurrence"
}
}
},
"parameters": {
"$connections": {
"value": {
"dynamicscrmonline_1": {
"connectionId": "/subscriptions/61b56b28-657e-4ac0-a6a9-b39b4a37923c/resourceGroups/dyno-cspfit01/providers/Microsoft.Web/connections/dynamicscrmonline-5",
"connectionName": "dynamicscrmonline-5",
"id": "/subscriptions/61b56b28-657e-4ac0-a6a9-b39b4a37923c/providers/Microsoft.Web/locations/ukwest/managedApis/dynamicscrmonline"
}
}
}
}
}

Screenshot of console trace
image

Copy link

We requested more information to triage this issue. If the issue goes more than 7 days with no more information it'll be automatically closed.

@github-actions github-actions bot added the stale label Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants