cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
snorf
Frequent Visitor

Using Graph to update Planner 'owner'

Been trying to use the HTTP connector and graph with delegated API permissions to update the owner of a Plan.
According to the docs it looks to me like it should be possible:
https://docs.microsoft.com/en-us/graph/api/plannerplan-update?view=graph-rest-1.0&tabs=http

But I am getting the following error:
Schema validation has failed. Validation for field 'ContainerId', on entity 'Plan' has failed: This field is read only and cannot be changed.

The request looks as follows:
PA2.PNG

Running the same request as above but updating the 'title' instead of 'owner' works.

I am owner of both of the 365 groups, the current one and the one I am trying to move it to.

2 REPLIES 2
Expiscornovus
Super User
Super User

Hi @snorf,

 

Don't know if it helps. But I can reproduce your issue in Graph Explorer as well. So, it feels like a bug or the documentation needs some clarification 😁

 

graphexplorer_repro.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


It looks like it simply cannot be updated, according to this:
https://github.com/microsoftgraph/microsoft-graph-docs/blob/main/api-reference/beta/resources/planne...

owner (deprecated)StringUse the container property instead. ID of the group that owns the plan. After it is set, this property can’t be updated. This property will not return a valid group ID if the container of the plan is not a group.



Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,053)