Hello,
I am trying to run an approval from a powerapp in a Teams environment.
The flow is running fine when triggered:
but the outputs shows an empty list of approvers:
and the requests are shown in the sent list within teams, but the sent to... column is empty.
What am I doing wrong?
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:
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.
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?
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?
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?
User | Count |
---|---|
88 | |
37 | |
26 | |
13 | |
13 |
User | Count |
---|---|
127 | |
54 | |
38 | |
24 | |
21 |