0

How can I change the group owner of a group by a sharepoint workflow using the REST api?

I am creating the group by a rest call in the workflow. This works perfectly but the owner is set to the user running the workflow.

What I have tried so far:

  • Adding an "Owner" parameter with a paylod of {"Id":"15"}. The workflow runs with no errors but the owner field is not updated
  • Hitting the /_api/Web/SiteGroups/GetById([GroupId])/Owner endpoint but it seems it doesn't exist

Judging by this article the Owner parameter should be writeable, but it does not seem to work.

BTW I'm working on SharePoint Online.

0

It seems that it isn't possible.

For those who have the same problem please vote the feature in user voice:

https://sharepoint.uservoice.com/forums/329220-sharepoint-dev-platform/suggestions/11503626-add-the-possibility-to-set-the-owner-when-creating

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.