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 / Power Automate gateway...
Power Automate
Unanswered

Power Automate gateway to SQL - Credentials are missing or not valid

(0) ShareShare
ReportReport
Posted on by

Hi,

We have installed a data gateway in a SQL server.

However, when I try to login with credentials (that works in the server using SSMS) it shows me

Credentials are missing or not valid. inner exception: The credentials provided for the SQL source are invalid

 

Are there any extra steps need to be done in the SQL server t allow connections from Power Automate? (as opening ports?)

Screenshot 2021-10-04 113502.png

 

Categories:
I have the same question (0)
  • eric-cheng Profile Picture
    5,171 on at

    Hi @Jorge ,

     

    Can you try / test / clarify the below:

     

    1. Ensure the correct Authentication Type is used i.e. AAD, SQL Auth, Windows Auth

    2. Is MTR the username or servername?

    3. If servername, can you try removing the LO-ROPO\

     

    Also, please check the usual checklist:

     

    1. Please make sure your database engine is configured to accept remote connections.
    2. Please make sure that you create an exception on the firewall for the SQL Server instance and port you are using.
    3. Please check if your SQL server services is up and running properly.
    4. Please make sure that you enable TCP/IP in SQL Server Configuration

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

  • Jorge_ Profile Picture
    on at

    Hi Eric, thanks for your reply.

    I'm using SQL Auth, as I do use in SSMS in the server.

    LO-ROPO\MTR is the server name If I remove any of two parts, I get following:

     

    • Firewall exception is not created automatically? How do I know which port uses Power Automate to access SQL on-prem?

    Thanks

    Screenshot 2021-10-05 090754.png

     

     

  • Verified answer
    eric-cheng Profile Picture
    5,171 on at

    Hi @Jorge ,

     

    So I did a bit of testing against my on prem SQL.

     

    1. I had to specify the domain in my SQL server e.g. servername.xxxx.com.au.  Not sure if this is specific to my network.

     

    2.  Database name was case sensitive.  I had a capital as the first character and it threw the same error.

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard