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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / corresponding team fun...
Power Apps
Answered

corresponding team function to systemusers

(0) ShareShare
ReportReport
Posted on by 148

I have a flow that create a record assigning ownership from other record in other table.

I use /systemusers to read the user from the source record but I do not find any corresponding function systemteams, do You know which is the correct funtion name? (i.e I tried team teams  systemteams but not working) 

 

I have the same question (0)
  • ivan_apps Profile Picture
    2,189 Moderator on at

    I'm not quite following your question, but "systemuser" is the table name for the Users. Adding an "s" at the end usually means that's the set name (helpful in Power Automate for assigning lookup values).

    Now for a Team the table name is "team" and the set name is "teams".

    If you can provide a little more context to your question I can try to help.

  • piergaetano Profile Picture
    148 on at

    This is the partial flow: if the record source has an user as owner no problem, I use function /systemusers(UID) and it works but in case owner is a team /systemusers fail so I need function that return me the owner team. 

    piergaetano_0-1706260949692.png

     

  • ivan_apps Profile Picture
    2,189 Moderator on at

    You would enter /teams(GUID)

     

    from your screenshot - /teams([owning team])

  • piergaetano Profile Picture
    148 on at

    Not working 

    with /teams not recognized

    piergaetano_0-1706452438381.png

    with /team I get this assigning to record owner:
    URL was not parsed due to an ODataUnrecognizedPathException. Resource not found for the segment provided in the URL.

  • ivan_apps Profile Picture
    2,189 Moderator on at

    This is an example from a flow I created to do the same thing some time ago. This expression eliminates the IF statement in your flow as puts it in just the owner field.

     

    the only difference I see is to remove the starting forward slash “/“ - so simply “teams(guid)”

    if(
     equals( 
    items('Apply_to_each')?['_xx_lookup_value@Microsoft.Dynamics.CRM.lookuplogicalname'],
    'systemuser'),
     concat('systemusers(', items('Apply_to_each')?['_xx_lookup_value'] , ')'),
     concat('teams(', items('Apply_to_each')?['_xx_lookup_value'] , ')')
    )

     

  • piergaetano Profile Picture
    148 on at
      "error": {
        "code""0x80060888",
        "message""The supplied reference link -- teams() -- is invalid. Expecting a reference link of the form /entityset(key)."
  • Verified answer
    ivan_apps Profile Picture
    2,189 Moderator on at

    Take a look at this link - it explains your issue and shows your error- 

    https://www.encorebusiness.com/blog/power-automate-dynamically-set-crm-optional-lookup/

     

    Basically I believe you are passing “teams()” as the owner field without a GUID inside the parentheses. Add a ‘compose’ step before you run the update and set it to the value you are setting the owner to. Then set the owner to the output of the compose step. Perhaps the Owning Team (Value) isn’t set, so use the Owner (Value) dynamic value instead. 

    basically you need to ensure that compose step does say teams() with a GUID inside. 

  • JHarvey Profile Picture
    4 on at

    We, too, struggled with this... the solution for us was: for TEAMS Id was /teams/GUID. (No parentheses)  For a Non-Teams, its systemusers(GUID) (with parenthesis) both in the ADVANCED options of "update a row" for dataverse; Field: Owner(Owners)
    via: https://www.youtube.com/watch?v=F_7M_kQ02TM 

    OhioHarvey_0-1707851925443.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 893

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 482

Last 30 days Overall leaderboard