Open kennvetters opened 4 years ago
Looked into it a bit further, and it seems so have to do with the concat function for using parameters.
When I switch to code view, next gives the "operation not found" error:
@concat('/datasets/', encodeURIComponent(encodeURIComponent(parameters('dynamicsax_instance'))),'/procedures/', encodeURIComponent(encodeURIComponent('DataManagementDefinitionGroups/Microsoft.Dynamics.DataEntities.GetExecutionSummaryStatus')))
This is working:
/datasets/@{encodeURIComponent(encodeURIComponent('dev-kvette93d97ed7c72f740adevaos.cloudax.dynamics.com'))}/procedures/@{encodeURIComponent(encodeURIComponent('DataManagementDefinitionGroups/Microsoft.Dynamics.DataEntities.GetExecutionSummaryStatus'))}
(see screenshot, Get execution summary status)
This is using a parameter and does not give the error, but causes the executionId parameter to be invisible in the designer.
/datasets/@{encodeURIComponent(encodeURIComponent(parameters('dynamicsax_instance')))}/procedures/@{encodeURIComponent(encodeURIComponent('DataManagementDefinitionGroups/Microsoft.Dynamics.DataEntities.GetExecutionSummaryStatus'))}
(see screenshot , Get execution summary status - custom)
I have a similar problem under the ARM connector and more specifically the Deployments_CreateOrUpdate operation:
Operation not found under connector '/subscriptions/
/providers/Microsoft.Web/locations/eastus/managedApis/arm'
When I deploy my Logic App through Azure DevOps everything from the validation to the actual deployment goes fine, but when looking at it in the Designer view the Create or update a template deployment action displays the error message above.
Deleting the action (as I can't manually fix it in the Designer view), recreating it, putting in place holder values that the connector expects (i.e. required), saving, going into Code view, and replacing the path
property in one go, then it breaks, but if I first replace the resourceGroups section, save, and then the deployments section then it saves fine... and will render a perfectly valid and usable Logic App.
The path
property in question:
/subscriptions/@{encodeURIComponent('<GUID>')}/resourceGroups/@{encodeURIComponent(variables('resourceGroupName'))}/providers/Microsoft.Resources/deployments/@{encodeURIComponent(concat(triggerBody()?['location'],'-',replace(triggerBody()?['source'],'-',''),'-',triggerBody()?['id']))}
Just mentioning that passing in a separate variable will also not work as it still breaks the parsing for some reason.
Facing same issue in 2023:
same issue for Get Virtual Machine action
Hi
I keep on getting the following error for the Dynamics 365 steps.
Operation not found under connector '/subscriptions/(my subscription guid)/providers/Microsoft.Web/locations/westeurope/managedApis/dynamicsax'
Any idea? If I create a custom logic app and add it myself, I can configure the step and can configure the action.
I've authorized all connections.
Thanks for looking into this / your suggestions!