web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Using a bound action i...
Power Apps
Unanswered

Using a bound action in canvas app problem

(1) ShareShare
ReportReport
Posted on by 2

Hello,

 

On today I'm using a flow that I run from a canvas app that is using the bound action from the "Team" dataverse table "AddMembersTeam". In my flow this is working fine, but I started trying to directly call the bound action from the canvas app.

 

I'm not able to get this working, it is asking me for a column that is required but have tried many different formats, but I'm not able to work around it. Any suggestions how I can perform this Bound action in my canvas app? I won't to avoid using a flow but directly call dataverse actions with Power Fx.

 

 

Teams.AddMembersTeam(
 "SampleTeamId",
 {
 'Members': 
 [
 {
 systemuserid: "86c11e72-fd4b-ee11-be6f-0022489981f4"
 }
 ]
 }
 )

 

 

This is giving me the error (I also tried to replace 'systemuserid' with 'Members.organizationid', but it is giving me the same error

JaroVermeulen_0-1720515330408.png

 

Categories:
I have the same question (0)
  • JV-19080742-0 Profile Picture
    2 on at

    I have found what I need to do. Apparently you need to include the full user record from the dataverse 'User' table.

    However, it is still causing issues as now it is prompting incompatible type:

     

    Any suggestion how to work around this?

     

    Incompatible type. The 'Members.address1_latitude' column in the data source you’re updating expects a 'UntypedObject' type and you’re using a 'Number' type.

    Teams.AddMembersTeam(
     "SampleTeamId",
     {
     Members: 
     [
     LookUp(Users, 'Azure AD Object ID' = User().EntraObjectId)
     ]
     }
     )

     

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 400

#2
WarrenBelz Profile Picture

WarrenBelz 348 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 315 Super User 2025 Season 2

Last 30 days Overall leaderboard