cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Marco_Gallinari
New Member

Create New Approval - empty approvers

Hello,

I am trying to run an approval from a powerapp in a Teams environment.

The flow is running fine when triggered:

 

Marco_Gallinari_1-1612546691694.png

 

 
 
 

inputs.PNG

but the outputs shows an empty list of approvers:


Outputs.PNG

and the requests are shown in the sent list within teams, but the sent to... column is empty.

List.PNG


What am I doing wrong?

5 REPLIES 5
DamoBird365
Microsoft
Microsoft

Hi Marco,

 

Can you screenshot your create an approval step and show what dynamic content or expression you are using to populate the "assigned to" field?  Do you pass the approver via powerapp variable or will it be a fixed user?  Have you tried typing in a user account/email directly into this field?

Hi!

Sure, this is the flow:

Capture.PNG

it is quite simple, the power app sends all the details.

The Assigned To is bound to a variable that carries the user's manager email address, as read from the Office 365 users connector.
I can see it carries the expected value from the task input in run. history
I tried passing in the ID as well, with the same results. 

I also tried typing in "Assigned To" a static email address, still no luck.

Marco_Gallinari
New Member

Here's what I've found, if I move the power app & flow to the tenant power app environment it works fine.

The issue is present only in the environment related to the single team in which the power app was originally developed.

Is there any limitation in this case? 

Marco_Gallinari
New Member

So, my understanding is that currently it is not possible to run an approval on a power automate environment different from the one marked as default (the main tenant environment).

Evidence is that in official Approvals Teams app the button to create a new approval is enabled only on the default environment.
So I won't be able to create an approval from a flow in a Teams environment, and I must take the app and the flow to the main tenant, or give up and create another sort of approval.

Is there any plan to integrate Approvals on secondary (non-default) environments, too?

DamoBird365
Microsoft
Microsoft

Learn something new every day!  I've not personally tried approvals from PowerApps in Teams Dataverse.  The approval feature for Teams though has just been released https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=&searchterms=approval but this is from the Teams app itself and not what you are looking for?

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,308)