
Announcements
I have a requirement I can't get to work smoothly and I was hoping someone here could bring enlightenment because no MS Learn or MS Community seems to cover this topic.
I have records in Dataverse that can be created from a Power App. The owner of these records should always be a Team, so that other team members can edit the records. I built functionality to add a new team to the Environment right before creating the record. Adding teams this way makes them show up correctly in the Admin Center > Environment > Teams, but the team members are shown way later. Selecting the created teams to be used as owner in the records doesn't work, the Patch function seems to be completely skipped, no error or other messages. Selecting teams that were added using the admin center does work and creates a record with the team as owner.
The groups that are added to the environment using the application are all Entra groups, retreived using the EntraId connector (previous Azure Active Directory connector). It correctly adds the EntraId to the group and a syncing seems to be working, but sometimes a bit delayed.
I have tried different approaches, using collections, direct filter, filter on Teams, filter on Users but none seem to allow me to use a newly added team as owner of a record.
If anyone has any experience with adding teams and can provide some information or knowledge, would be greatly appreciated. If anything is unclear please ask questions so I can further explain the situation.