Вопрос

How to update people picker column using REST API in Power Automate?

I have three people picker column in SharePoint.

Это было полезно?

Решение

Using REST API, You can update People or Group field by setting field with user or group ID.

Considering field name is AssignedTo, the format for user field value:

Single-valued user field: 'AssignedToId' : 1

Multi-valued user field: 'AssignedToId' : { 'results': [1, 2, 3] }

Where 1, 2, 3 are ID of users/groups.

Example:

enter image description here

References:

  1. Update a people field in a SharePoint List using REST API using Power Automate
  2. HOW TO UPDATE THE SHAREPOINT PEOPLE PICKER FIELD USING POWER AUTOMATE

Другие советы

You could choose to use Update Item action in flow.

  1. Set a people field in SharePoint with Power Automate when all you have is a user’s name.
  2. FLOW UPDATE MULTI-SELECT COLUMN

If you have got the user information in the previous actions, you could find them here. enter image description here

Лицензировано под: CC-BY-SA с атрибуция
Не связан с sharepoint.stackexchange
scroll top