While configuring Canvas app for my previous article ,I encountered following error while selecting ‘Power Automate’ from Canvas app.

Reason:
- In my ‘Power Automate’, I was reading collection received from Canvas app to ‘Array’ type variable.

- There seems to be issue with ‘Array’ datatype when triggering ‘Power Automate’ flow Canvas App.
Fix:
- In the Power Automate, changed the Type from ‘Array’ to ‘String’ and used ‘Parse JSON’ action to convert String to json collection.

- In Canvas App, used JSON() function to convert the Collection to json string.

🙂

![[Step by Step] Configure and consume 'Environment Variables' of type 'Secret' using 'Azure Key vault'](https://rajeevpentyala.com/wp-content/uploads/2023/05/image.png)
Leave a comment