Now, I want to add this PowerApp to any of our Teams channel tabs (that has an associated Plan also embedded). What I want to do is look up the planId of the embedded plan on the same channel so I can use that to list all the tasks of that channel's plan as per the function above. ie it auto configures to use the same Plan as the one on the same channel.
I cannot find how to do that. Can anyone advise please?