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 Automate / Switching SQL Authenti...
Power Automate
Unanswered

Switching SQL Authentication Method - Errors

(0) ShareShare
ReportReport
Posted on by

We recently moved away from SQL Server Authentication to a new security method for our SQL Database where we only use Azure Active Directory. As I try to change the authentication method for probably 50+ SQL actions in our flow library I get this error. Looking at the code of the action it looks like the path key in the JSON is missing the SQL Server and Database (although it still has the table name). This is extremely frustrating as the only way I can think to fix this issue is to rebuild every single SQL action in my flows when all I am doing is trying to switch the authentication method to something more secure. 

 

I've tried downloading the zip file and editing the JSON but it uploads with error no matter how careful I am. 

 

 

2022-11-11 15_04_35-Edit your flow _ Power Automate and 14 more pages - Work - Microsoft​ Edge.png

 


Example of code error after switching from the SQL Server Authentication connector to the Azure AD Connection method.

"path":"/datasets/default/tables/@{encodeURIComponent(encodeURIComponent('[dbo].[xxx]'))}/items"
What would work if I recreated the SQL Action with V2
/v2/datasets/@{encodeURIComponent(encodeURIComponent('xxxxxserverendpoint'))},@{encodeURIComponent(encodeURIComponent('databasename'))}/tables/@{encodeURIComponent(encodeURIComponent('[dbo].[xxxx]'))}/items
 
any suggestions or ideas would be helpful. This migration from SQL Server Auth to Azure AD Password + conditional access has been a nightmare on the Power Automate flow and I wish Microsoft would make this kind of thing easier. 
Categories:
I have the same question (0)

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 248 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 207 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 101 Super User 2026 Season 1

Last 30 days Overall leaderboard