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 / Two databases or two c...
Power Automate
Answered

Two databases or two connections in same flow

(0) ShareShare
ReportReport
Posted on by 5

I am using on-premise gateway for a Flow.  My first step is "When an item is created".  My second step is "Insert row". 

 

It works fine when both tables are in the same database.  Is it possible to have a connection with two databases?  Or a Flow that uses two connections?  

 

There does not appear to be an option to use a different database or connection for the "Insert row".  

 

Thank you!

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    If you want to use two different databases then you will need to configure two connections, one for each database.

  • Verified answer
    v-bacao-msft Profile Picture
    on at

    Hi @kj2 ,

     

    You could change the Database through the existing connection, basically a connection corresponds to a configured Database.

    In addition, you could also add a new Database as a Data Source by adding new connection.

    Image reference:

    8.PNG

    Hope this helps.

     

    Best Regards,

  • kj2 Profile Picture
    5 on at

    Thanks!  I figured I needed two connections, but I didn't know how to specify the connection.  The graphic of how to alter the steps demonstrates what I need to try.  

     

    I haven't had time to test this yet, but I'll check it out as soon as I can.  

     

     

  • himuengg Profile Picture
    13 on at

    Any luck on this? I am facing the same issue.

  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

      A solution was provided for this one a while back.  if that isn't working for you then I would suggest posting this as a new question. You'll get more views that way and we'll better be able to help you. I would also suggest being more specific about your issue. Is there some reason that adding a second connection isn't working for you?

  • himuengg Profile Picture
    13 on at

    adding a second connection works but wanted to know if it can be achieved without creating a second connection.

  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    No you can't do it without adding a second connection.  Connections specify the database they are attached to, so if you want a second database you have to create a separate connection.

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard