web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Update record for user...
Power Apps
Unanswered

Update record for users with restricted access to columns (column security profiles)

(1) ShareShare
ReportReport
Posted on by

Hello,

 

I am building a canvas app using dataverse. I have a dataverse table with basic and sensitive columns, and have some users who can see all columns and some who cannot see the sensitive columns, set using column security profiles (https://docs.microsoft.com/en-us/power-platform/admin/set-up-security-permissions-field).

I want to have a button to update the value of one of the basic columns, based on the ID. I have tried the following:


Patch('Shelter users', First(Filter('Shelter users', 'ID'="0000")), {'Name': "TESTING"})

 

where 'Name' is the name of a basic column. However this does not work for the users with restricted access, even though they still have read and write access to the 'Name' column and the ID column. It does not update the 'Name' column and there is no error. It seems that this is because the First(Filter part is returning nothing. I have also tried using the UpdateIf function, and had the same problem. The formula does work correctly for users with access to all columns. 

 

Is there a way to update the value of a record column based on the ID, which will work in this situation where the user does not have permission to view all columns?

 

Thanks!

I have the same question (0)
  • 365-Assist Profile Picture
    2,324 Moderator on at

    Perhaps try doing it Power Automate. Then the update does not rely on the user permissions but rather uses the permissions from the Power Automate flow.

    ---------------------------------------------------
    Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.

    Subscribe: https://www.youtube.com/channel/UCFpvUlpx84FuIPOdInGKMTw
    Twitter: https://twitter.com/assist_365

    Regards
    Darren Lutchner - 365 Assist

  • Ram Prakash Duraisamy Profile Picture
    5,593 Super User 2025 Season 2 on at

    Hi @365-Assist 

     

    Try using this

     

    Patch('Shelter users', { ShelterUserID : First(Filter('Shelter users', 'ID'="0000")).ShelterUserID,'Name': "TESTING"})

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Follow me on Twitter : @rampprakashd
    Blog : https://microsoftcrmtechie.blogspot.com

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard