Showing results for 
Search instead for 
Did you mean: 
Not applicable

Like/Unlike a SharePoint List Item


I have a custom list in SharePoint Online with the rating activated.

In my PowerApp, I have a button to like/unlike an item.

The property available for the like/unlike is "LikedBy" which is a list of Claims Users.

With this code, I can add/remove the current user to/from the list which simulate the like/unlike.


If(IsBlank(First(Search(LikedBy, "i:0#.f|membership|" & Lower(User().Email), "Claims"))), UpdateIf(Improvements, Title = Title, {LikedBy:Collect(LikedBy, {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",Claims:"i:0#.f|membership|" & Lower(User().Email),Department:"", DisplayName:User().FullName,Email:User().Email,JobTitle:".",Picture:User().Image})}), UpdateIf(Improvements, Title = Title, {LikedBy:RemoveIf(LikedBy, Claims = ("i:0#.f|membership|" & Lower(User().Email)))}))


It works well in term of considering that the item is liked or unliked.

The problem is that the Number of likes is not updated.


I can see in different articles that there is another property called "LikesCount" but it is not available here.


Is there something I missed?

Can you help me please?

Thanks a lot.


Community Support
Community Support

Hi @Anonymous,


Could you please share a bit more about your SharePoint list which has enabled Rating option?


I have made a test and the issue is confirmed on my side. The number of likes is not updated within my SharePoint list when I like an item within my PowerApps.


In addition, I could not find the LikeCount property within my PowerApps app Form (and SharePoint list). If you want to update the number of likes of an item within your PowerApps app, I afraid that there is no way to achieve your needs in PowerApps currently.


If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:


Best regards,


Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advocate I
Advocate I

Hi, did you manage to find a solution to updating the number of likes?

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,240)