Announcements
Hi @nagestiada ,
Please refer to screenshot below to create the flow:
Best Regards,
Alice
Community Support Team _ Alice ZhangIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@v-alzhan-msft I am getting an error at compose 2 in union, Unable to process template language expressions in action 'Compose_2' inputs at line '1' and column '2829': 'Template language function 'union' expects parameters of same type, but found 'Array,Integer' distinct types.'.
union(variables('emails'),outputs('Email'))
Take a try with expression below:
union(variables('emails'),array(outputs('Email')))
@v-alzhan-msft It worked, Thanks! by any chance do you know this error: "You are not authorized to perform this operation. This error can occur for sandbox (test) accounts or if OData operations are disabled by your Exchange server administrator."Does it mean i don't have access to the shared mailbox even if i can send and received using that mailbox on my outlook?
@v-alzhan-msft when I use the current Item on send an email I get this error: The template validation failed: 'The inputs of template action 'Send_an_email_(V2)' at line '1 and column '1639' is invalid. Action 'Apply_to_each_3' must be a parent 'foreach' scope of action 'Send_an_email_(V2)' to be referenced by 'repeatItems' or 'items' functions.'.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 785
Valantis 669
Haque 563