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 / Patching to dataverse
Power Apps
Answered

Patching to dataverse

(0) ShareShare
ReportReport
Posted on by 79

Hi, 

I am trying to patch to the "out-of-the-box" users table.

This is my code : 

Patch(Users, Defaults(Users), {'APM Group': drpGroupBS.Selected})

but this leaves me with an error that says  "Field 'accessmode' is required" and I'm not sure what this means.

 

Any help would be appreciated, 

Thanks

I have the same question (0)
  • Verified answer
    Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hello @user391_ 

     

    You can check the full list of "required" fields for the User table by:

    - Going to the Tables tab under Dataverse.

    - Selecting User table and click Columns.

     

    Here are the docs for what each column is expecting.

    User (SystemUser) table/entity reference (Microsoft Dataverse) - Power Apps | Microsoft Learn

    For example, the Access Mode field expects an integer value for an option.

    0Read-Write
    1Administrative
    2Read
    3Support User
    4Non-interactive
    5Delegated Admin

     

    What is your use case for wanting to add records to this table?

  • user391_ Profile Picture
    79 on at

    Hey so my solution was to use a lookup into the users email address instead of using defaults(users). I created a custom column within the users table, whcih I wanted to update

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 617

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard