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 Automate / Assigning Record Owner...
Power Automate
Unanswered

Assigning Record Ownership in Teams Dataverse before app installation in Teams

(1) ShareShare
ReportReport
Posted on by 5

Hi everyone,

 

I have shared a canvas app with a colleague via Teams. The target user is already in the security group but hasn't installed the app on their MS Teams yet. I am trying to create a record in custom Teams' Dataverse table and assign ownership of the record to the target user from Power Automate using systemusers(), regardless of whether the user has launched the app or not.

 

Initially, I couldn't find the user in the environment Users table, so I added the target user to the user table using 'Force Sync user' in Power Automate.

 

Now, the flow can find the target user from the Users table, but it shows a read privilege check failure for the target user because they haven't been assigned any roles. Interestingly, the issue resolves automatically once the user installs the app on their Teams.

 

The table permission is set correctly, and the user can interact with the table normally once they launch the app. However, the flow can't assign record ownership to the user before they launch the app.

 

Here is the error message:

"Read Privilege Check For Owner failed with exception: RetrievePrivilegeForUser: The user with id {target user ID} has not been assigned any roles. They need a role with the prvReaddpa99999_Teachingspace privilege."

 

Does anyone have any idea how to resolve this without forcing the user to launch the app first?

 

Thanks in advance!

 

Additionally, I discovered some interesting findings while investigating this issue. The user’s caltype is set to ‘Professional’ when added using ‘Force Sync User’ and changes to ‘Enterprise’ once the user installs the app from the Teams marketplace. (see image attached)

image 11.png
Categories:
I have the same question (0)

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 481

#2
11manish Profile Picture

11manish 278

#3
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

Last 30 days Overall leaderboard