Azure / powerautomate-avd-starter-kit

Starter kit to help customers integrate with and leverage Azure Virtual Desktop to scale their Power Automate Desktop machine groups
MIT License
51 stars 23 forks source link

Errors occur in cloud flows created with the AVD Integration Starter Kit and the flow execution does not complete to the end. #10

Open HiroakiWada0826 opened 2 years ago

HiroakiWada0826 commented 2 years ago

An error occurs in the cloud flow 'Auto Generated Orchestration Flow' created with the AVD Integration Starter Kit and the flow execution does not complete to the end.

Error location: Auto scale Condition statement Error message: Action 'Auto_scale_Condition_statement' failed Error description: Unable to process template language expressions for action 'Auto_scale_Condition_statement' at line '0' and column '0': 'The template function 'lenght' is not defined or not valid.

This error seems to be caused by the function lenght specified in Auto_scale_Condition_statement.

danypiedra commented 2 years ago

Hello team, I have a customer that is implementing cloud flows using the Power Automate AVD integration starter kit and having the same issue with autoscaling, is there any update or workaround to make this functionality works?

anonymous21155 commented 1 year ago

An error occurs in the cloud flow 'Auto Generated Orchestration Flow' created with the AVD Integration Starter Kit and the flow execution does not complete to the end.

Error location: Auto scale Condition statement Error message: Action 'Auto_scale_Condition_statement' failed Error description: Unable to process template language expressions for action 'Auto_scale_Condition_statement' at line '0' and column '0': 'The template function 'lenght' is not defined or not valid.

This error seems to be caused by the function lenght specified in Auto_scale_Condition_statement.

Did you solve the isuue? Iam facing the same issue.

anonymous21155 commented 1 year ago

I choose deallocated as the shutdown method but still there is this same error.

Voda88 commented 1 year ago

There is a typo in 'Auto scale condition statement' activity with the alwaysOnVMs is greater than lenght(variables('Active Group VMs')). Replace lenght with length. Really amateurish for MS to still recommend using this starter kit with issues like this in place.