Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
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

  • user391_ Profile Picture
    79 on at
    Re: Patching to dataverse

    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

  • Verified answer
    Jcook Profile Picture
    7,770 Most Valuable Professional on at
    Re: Patching to dataverse

    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?

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 17

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics