How can I set the People and Groups default to the current logged on user?

Amy Babinchak 6 Reputation points MVP
2022-10-03T16:15:53.067+00:00

I have a Microsoft Lists field called Assigned to, that is a People and Groups field. When a new item is created, I would like that field to default to the current logged on user. I've been searching for some JSON to make this happen and I can't find it. Suggestions?

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

3 answers

Sort by: Most helpful
  1. Xuyan Ding - MSFT 7,601 Reputation points
    2022-10-04T03:13:50.093+00:00

    Hi @Amy Babinchak ,

    Let me first explain to you my understanding of this case. You want a column called 'Assigned to' to automatically display the user who created the item when the item is created. If there is any misunderstanding, please feel free to bring it up.
    247234-image.png

    An easy way is to rename the default hidden 'Created By' column to the 'Assigned to' column.
    1)Find 'Show /hide columns' at the bottom of the Add column
    247254-image.png
    2)Check 'Created By'->Apply->->Column settings->Rename->Save
    247198-image.png 247150-image.png 247255-image.png

    This must be the best option if you don't need to change the attribution of the item. Of course, this column is created by the system to be read-only. If you need to modify the assignee, you need to create a reassigned Person column to specify the user.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Amy Babinchak 6 Reputation points MVP
    2022-10-06T15:37:11.997+00:00

    No that won't work for me. I just want to set a default value. It needs to leave the option to be assigned to a different individual

    0 comments No comments

  3. Xuyan Ding - MSFT 7,601 Reputation points
    2022-10-07T07:20:57.68+00:00

    Hi @Amy Babinchak ,

    JSON doesn't do what you want. In this case, the default value of the column needs to be assigned.
    251973-image.png

    According to your needs to modify the default value, we can create a simple flow to achieve. The following are the specific steps and implementation results.
    New flow->Automated could flow->When an item is created->Create->Fill in the appropriate information->Save
    248387-image.png
    248442-image.png
    248434-microsoftteams-image-14.png

    Output result:
    248379-image.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.