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 / Error in Power Apps an...
Power Apps
Suggested Answer

Error in Power Apps and SQL

(1) ShareShare
ReportReport
Posted on by 2
I am building an application that patches records from Power Apps to SQL server, however I am having trouble with some screens. I have 4 screens that had the same error, and I fixed it by changing some settings in SQL to allow write rights to SQL. 
 
I cannot remember the settings well. I would appreciate any help with this. I have attached the screenshot of the error message which is "The function Patch has some invalid arguments" 
Categories:
I have the same question (0)
  • Nandit Profile Picture
    1,568 Moderator on at
     
    This error message is not enough for me to make some suggestions. It would help if you could share the full Patch function here (obviously hiding anything that's confidential). That way it will be easier to assist you resolve this.

    Kind regards,
    Nandit
  • Suggested answer
    MichaelFP Profile Picture
    1,847 Super User 2025 Season 2 on at
    Based on what you said, you need to include this table to have write access for the user used in the SQL connection. For this you can run the following T-SQL to give access for the user on your table
     
    GRANT INSERT, UPDATE, DELETE ON table_name TO user_or_role;

     

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard