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 / PowerApps Remove not t...
Power Apps
Answered

PowerApps Remove not triggering SQL Trigger

(0) ShareShare
ReportReport
Posted on by 9

Hi all,

 

I have a 2 table setup where I have a project table, and a details table. I have a button in my PowerApp that uses the REMOVE function to delete a row from the project table. I also want it to be able to delete the row(s) from the details table where the project number matches. I created a trigger to do this (I already have 2 other triggers successfully set up on the projects table that update the details table when something happens), but I cannot get it to work. With the trigger disabled, the PowerApp correctly deletes the row from the project table, but enabled it does nothing and even blocks this delete. However when I delete the row from the projects table directly in SSMS, the trigger works fine and deletes the corresponding rows from the details table. Any idea why calling the delete from a PowerApps Remove would be breaking the trigger?

 

ALTER TRIGGER [dbo].[DeleteDetails]
ON [dbo].[Projects] AFTER DELETE
AS

DELETE FROM Details
WHERE Details.ProjNum in (SELECT ProjNum FROM Deleted)

Categories:
I have the same question (0)
  • Verified answer
    timl Profile Picture
    36,415 Super User 2025 Season 2 on at

    Hi @thuetten 

    Unfortunately, it is a known limitation that the SQL Server connector doesn't support tables with triggers. There are more details in the 'Known issues and limitations' section of the documentation.

    https://docs.microsoft.com/en-us/connectors/sql/ 

  • thuetten Profile Picture
    9 on at

    Thanks for the reply! I knew that I could not do a straight update form on a table with a trigger enabled, but I thought this should still work. Appreciate the help.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard