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 / How to clear SharePoin...
Power Automate
Answered

How to clear SharePoint "Person or group" field

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a flow in which I would like to clear all values from the "Person or group" field in SharePoint list. Is there any way to pass an empty string in the "Update item" activity to this field?

Categories:
  • gamoraes Profile Picture
    1,040 on at

    Hi @PWrobel

     

    Simple put -1 in the column value and it's done.

     

    Hope have helped,

     

    Best Regards,

     

    Gustavo Moraes

  • PWrobel Profile Picture
    Microsoft Employee on at

    Unfortunatelly putting -1 in the "ColumnName Calims" field casues the activity to crash with error "Bad gateway". Removing this -1 value fixes the workflow.

  • gamoraes Profile Picture
    1,040 on at

    Hi @PWrobel

     

    Can you post a print of your flow to us?

     

    Best Regards

     

    Gustavo Moraes

  • PWrobel Profile Picture
    Microsoft Employee on at

    Sure. THis is the screenshot of the error in activity and the overview of the flow. The error in the activity is 502 Cannot find user -1

    flow diagram.pngactiviy details.png

  • courtneo Profile Picture
    Microsoft Employee on at

    Ah, I see your trouble - if an empty value is specified then the field does not get updated. Having a look into this, it may be a bug, will update shortly.

  • Verified answer
    courtneo Profile Picture
    Microsoft Employee on at

    This turns out to be a limitation of the system at the moment, and it holds for update of any field in a sharepoint list not just one of person/group type -- empty is interpreted as "don't update". It is not exactly a bug in the sense that sometimes "don't update this field if I didn't specify it" is in fact the behvarior that a person wants from the update-item action. So what we have here is a missing feature: you need a way to specify that you want to clear the field. I have filed a work item to look into adding something like this, will discuss internally.

  • gamoraes Profile Picture
    1,040 on at

    Hi @PWrobel

     

    I did a mistake, a show you how update a 'lookup' not a 'user and group'. I tried other methods here but no success. I think as @courtneo, this should be a bug.

     

    Sorry 😞

     

    Wait with us the fix.

     

    Best Regards,

     

    Gustavo Moraes

  • Verified answer
    courtneo Profile Picture
    Microsoft Employee on at

    Hey guys, with apologies I was not clear in my previous answer: this is not actually a bug, it is a limitation of the "update item" action. Specifically: the action will interpret an empty field to mean that you do not want to update the field. This behavior is sometimes desired. This is a missing feature: you need a way to specify how you want "empty" to be interpreted: (a) as "don't update" or (b) as "clear the field". We are currently estimating estimating the work required to add support for this feature.

  • Verified answer
    gamoraes Profile Picture
    1,040 on at

    Hi @courtneo if you are from the staff you and the team can do like rest api do, passing -1, it works today in flow lookup and option column field

  • PWrobel Profile Picture
    Microsoft Employee on at

    Hi Courtneo

     

    I think this is totaly expected that I do not have to fill all the fields if I just want to update just one field and leave other untouched. Using "-1" could be some workaround but in some cases I do would like to enter "-1" in the field as a value. I think the best option would be to have a checkbox next to the field that would say "Clear this field" and this way activity would know it needs to pass an empty value to the field. Thanks  for engaging in this.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard