Power Automate Flow using Blackbaud SFTP Connector
Hello - I am wondering on whether anyone here can provide some pointers on how to best troubleshoot the Blackbaud SFTP Connector used as part of the Power Automate Flow. My work currently utilizes Power Automate and the SFTP connector to transfer data into Microsoft Shared List for reporting. When the flow fails, it points to a bad gateway error:

The Input and Output error messages are:
Output
{
"host": {
"connectionReferenceName": "shared_sftpwithssh_1",
"operationId": "GetFileContentByPath"
},
"parameters": {
"path": "/C:/FTPHome/2bce8953-9d72-4079-8b1b-a841395998ab$/FTP/Queue Exports FTP/Files to OneDrive/Gifts - v1.CSV",
"inferContentType": true
}
}
Input
{
"statusCode": 502,
"headers": {
"Pragma": "no-cache",
"Cache-Control": "no-store, no-cache",
"Set-Cookie": "ARRAffinity=ce13854895b3c07570ec5b297a0755efcce04ad9a9d04c7a01caef545276de64;Path=/;HttpOnly;Secure;Domain=sftpwithssh-scus.azconn-scus-001.p.azurewebsites.net,ARRAffinitySameSite=ce13854895b3c07570ec5b297a0755efcce04ad9a9d04c7a01caef545276de64;Path=/;HttpOnly;SameSite=None;Secure;Domain=sftpwithssh-scus.azconn-scus-001.p.azurewebsites.net",
"x-ms-datasourceerror": "True",
"x-ms-request-id": "887ed567-7198-459a-9652-076e17078b23",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "true",
"x-ms-apihub-obo": "false",
"Date": "Thu, 20 Oct 2022 12:52:17 GMT",
"Content-Length": "575",
"Content-Type": "application/json",
"Expires": "-1"
},
"body": {
"error": {
"code": 502,
"source": "flow-apim-msmanaged-na-eastus-01.azure-apim.net",
"clientRequestId": "887ed567-7198-459a-9652-076e17078b23",
"message": "BadGateway",
"innerError": {
"status": 502,
"message": "An existing connection was forcibly closed by the remote host\\r\\nclientRequestId: 887ed567-7198-459a-9652-076e17078b23",
"error": {
"message": "An existing connection was forcibly closed by the remote host"
},
"source": "sftpwithssh-scus.azconn-scus-001.p.azurewebsites.net"
When I log into the Power Automate website to look at the flow itself, it'll show a Blackbaud SFTP connector invalid error:

When I see a failed flow message, I would check connection with FileZilla, and it appears that while FileZilla can connect successfully, the flow itself would fail and show bad gateway and invalid BB SFTP connector. I am wondering on how to get proper support or troubleshoot. Anything is appreciated. Thank you.
Comments
-
Thanks for posting because I have had the same issue for months now and even putting in retries I still don't connect. I don't understand why this is a problem, I hope someone can give us a better solution!
Carolyn Grant
Middlebury College
Middlebury, VT
1 -
@Cynthia Cheng We have a system called SmartSYNC that has various connectors including SFTP and is built for Blackbaud products. Does similar things to Power Automate but with way less effort and a lot more essentials like dupe checking etc. Anyway, happy to look into if this would work for you if you email the team support at smartthing.org. It is not way overpriced like some options too btw but you can judge that yourself no doubt!
0 -
@Cynthia Cheng
I think a lot of people are having trouble with this right now, and I haven't found anything that works consistently yet.Two things to check if you haven't already.
- The SFTP connector is now deprecated, so you should be using the SFTP - SSH connector instead
- Your RE FTP password changes every 45 days, so make sure you've got the most recent one in your connection
Even with both of those issues addressed, I'm still seeing connections fail intermittently in my tests, and I've seen posts in the Power Automate forums that suggest others are having the same problem. I'm guessing this is something that's going to need to be fixed by Microsoft.
As for where to get support - because of the nature of this problem I think the only option would be to put in a support ticket with Microsoft.
2 -
@Carolyn Grant
One way that was suggested by my organization's internal CIS team is to look into not utilizing SFTP. I've contacted BB customer support and looks like depending on what we are looking for, we may be able to just create queue or use API. All on-going discussion right now. I will come back and share more later.0
Categories
- All Categories
- 6 Blackbaud Community Help
- 213 bbcon®
- 1.4K Blackbaud Altru®
- 403 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 656 Blackbaud Grantmaking™
- 577 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 939 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.6K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 249 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 241 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 794 Community News
- 3K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)


