Re: PowerApp button - specific users allowed and greyed for others
@sid-agarwal - I suspect being all lower case is the cause of the problem then, as the Email attribute from a SharePoint People field is usually in Proper case.
Consider using non-delegable cast function like Lower to ensure both values are being compared with the same case:
If(
DataCardValue164_1.Selected.DisplayName = Office365Users.MyProfile().DisplayName || !IsBlank(
LookUp(
'Admin List_1',
Lower(EmailAddress) = Lower(User().Email)
)
),
DisplayMode.Edit,
DisplayMode.Disabled
)
On a separate note, while screenshots are very useful, it would also be useful if you could paste your code as text. This saves time having to type it out manually.