cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Patch to SQL table

Hello,

 

We have an Azure SQL database which we need to patch new records to, whilst this does appear to be working fine in the initial instance, we have configured the Azure SQL Data sync to replicate this table to an internal SQL database but after enabling the data sync we can no longer write any records to the Azure database from Powerapps.

 

We just recieve the message "An error occured on the server"


Regards


Daniel

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Visitor

Re: Patch to SQL table

Hi Mona,

 

Thanks for the advice but I had tried this to no avail, we have actually found after speaking to Microsoft support that after enabling the Azure SQL Sync to our internal SQL DB that 3 triggers are created on the Azure SQL DB, but currently the SQL connector doesn't work if the DB you are writing to has triggers enabled.

 

We have therefore had to change our plan so that there are no triggers and we can write to our DB


Regards

 

Daniel

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Patch to SQL table

Hi @rio688,

 

Have you tried refresh/delete and readd the connection? Also, check in the connection list in PowerApps site. Make sure that this connection is shown as Connected status.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Patch to SQL table

Hi Mona,

 

Thanks for the advice but I had tried this to no avail, we have actually found after speaking to Microsoft support that after enabling the Azure SQL Sync to our internal SQL DB that 3 triggers are created on the Azure SQL DB, but currently the SQL connector doesn't work if the DB you are writing to has triggers enabled.

 

We have therefore had to change our plan so that there are no triggers and we can write to our DB


Regards

 

Daniel

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,479)