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 / Assign Task to other u...
Power Apps
Unanswered

Assign Task to other user using Canvas App.

(0) ShareShare
ReportReport
Posted on by

I am using the Standard "Task" table to create task and display. The app security is such that user can only access their own records. Now the functionality that we need is to be able to assign the Task to some other user and I was trying to change the "Owner" of the task to assign it to other user. But when a user who does not have "System Administrator" security role tries to change owner they are getting this error. 
"The user does not have read access to the record"

I have the same question (0)
  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @Anonymous ,

    You shouldn't need System Admin roles to re-assign. Ensure the security role(s) have Assign privilege organisation-level on Activity and that the new assignee's security role(s) if they're different have at least privileges to read/write/append to/append on Activity, and optionally Assign org-level as well if they also need to re-assign tasks.

    More info: https://docs.microsoft.com/power-platform/admin/wp-security-cds#entityrecord-ownership 

    Hope this helps!

  • Community Power Platform Member Profile Picture
    on at

    Hi @EricRegnier 
    I have tried your solution but for some reason I can not locate "Task" table in security role setting to set the Assign privilege organisation-level.

  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @Anonymous,

     

    As @EricRegnier mentioned, you need to set privileges on the Activity table. Tables that are activities such as Task, Email, Phone Call, etc are secured via Activity and you won't see them listed when configuring security role permissions.

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • Community Power Platform Member Profile Picture
    on at

    Hi @ChrisPiasecki @EricRegnier 
    I have updated the privileges on the Activity table.

    unaseerb_1-1620623369065.png

    And when I try to set the "Owner" column value while patching the record I get this error.

     

    unaseerb_0-1620623328089.png

     

  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @Anonymous,

     

    Can you confirm the owner of the record changed? Once you reassign the record, then seeing a read error would be expected because users can only read records they own. If you insist on restricting the user to only user level for read, then you may want to redirect them back to a different screen after reassigning to avoid an unpleasant user experience.

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • Community Power Platform Member Profile Picture
    on at

    Hi @ChrisPiasecki 
    In this case I am navigating to the list view after creating the new record but still facing this error.

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @Anonymous, Are you getting the error or the newly assigned user? It's normal that you're getting the error because after re-assignment you no longer have access to this activity/task. To fix that there's an option to share record with original owner:

    EricRegnier_0-1620634293663.png

     

     

     

  • Community Power Platform Member Profile Picture
    on at

    Hi @EricRegnier 
    I have turned on the share record with original owner setting but still facing same error. I understand that the error is normal and the Owner is updated but for user experience I need to eliminate this error.

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    I guarantee that this is supposed to work 🙂 Ensure that the privileges are configured as follows (sharing at org-level):

    EricRegnier_0-1620683776390.png

    Don't think it's this but try publish all. Let me know how that goes once the role is updated and publish all.

    Cheers!

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @Anonymous,

     

    @EricRegnier and @ChrisPiasecki are 100% on the right path here on the security side.   I am just adding to hopefully add some additional thing to review but they have hit most everything...

     

    You are in a Canvas App so I would suggest to make sure you Clear on your Collection (or ClearCollect) before returning to the list view because it might still be in your list and you want it removed so you don't get the error.  You could also remove the item from the collection on the re-assign manually as well with the Remove() function.

     

    Hope this helps.  

     

    Thanks much,


    Drew

     

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
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard