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 Apps / Patch lookup column er...
Power Apps
Answered

Patch lookup column error: ID The specified column is specified by the server and can't be updated.

(0) ShareShare
ReportReport
Posted on by 27

I have a one-column list called User. I use this as a lookup column on another list called Bookings that uses Title as the view field.

When I try and update the lookup column in Bookings from my powerapp I get an error saying ID: The specified column is specified by the server and can't be updated.

 

Patch(Bookings,Defaults(Bookings),LookUp(Bookings,ID = selectedID),
 {
 User: {
 '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
 Id: 1,
 Value: "A Person"
 }
 }
)

 

I have confirmed that 'ID:1' and 'A Person' match in Users. I have searched google and no one seems to be having this problem so I must be missing something. Does anyone know what I'm missing? Thanks.

Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Rusty1 

    Take out Defaults(Bookings) from your formula. That is only used when you are adding a new item to the list.

  • Rusty1 Profile Picture
    27 on at

    Thanks, done that, makes sense as to the error now. The reason I added that in the first place was because the previous error I had was 'Unknown Error Occurred, since removing Defaults(Bookings) it's gone back to that.

     

    However, I made a new app and it works fine so no idea what happened. Thanks

     

    EDIT: The Patch was being called by the OnClick of a button, I made a new button and copied the exact same code into it and it works.

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard