I've already done mi db in my azure virtual machine, also I installed my gateway for a db on-premise.
But I still do not know how to start the connection whit my app and my SQL server in a azure virtual machine, I've been trying in power apps with SQL connector putting my server name, db name, user with password and gateway, but still sends me this error message: "Credentials are missing or not valid.
inner exception: The credentials provided for the SQL source are invalid."
At this point I do not know if I'm doing good or nothing of what I'm doing is OK.
I hope you can help me with this stuff, or if you can give me any document references. I would be so Thankful!
Sorry if my comment has any orthographic mistake, I'm from Mexico City.
Thank you for respond!
but to be honest, I don't understand what you mean ☹️ Literally i don't know what to put in the username based on what you said. Would you do more specific? Please!
Did you install the on-premises gateway in a server in Azure that can reach the Azure SQL VM? Or did you install it in your on-premises network? For this configuration it needs to be installed on a VM in Azure, which could be the SQL server itself.
For the credentials you'll either need to use SQL credentials, assuming your SQL server is configured for mixed authentication or an Azure AD based account that is accessible to your SQL server. The SQL credentials are probably easier. Take a look at the following article and use the equivalent of AzureAdmin in the article.
I literally installed the on-premises gateway in the azure virtual machine, i've tried with SQL credentials (the name of my virtual machine as the name on the server, user name with root and the name user in my virtual machine and the corresponding passwords of each one, and also select the one-premises gateway that I installed in my virtual machine. but I losing something because i still can not connect to my data.☹️
Also I already checked the article that you sent, this helped me to confirm my vm allows public connections from internet, so the article was very useful, thank you.
If you allow public connections from the Internet you should be able to connect to the SQL server directly, assuming you've allowed for the correct ports to be open. You should also check the ports on the gateway.
Check out the News & Announcements to learn more.
Did you know that you can visit the Power Query Forum in Power BI and now Power Apps
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
Check out our new Discover Your Career Path blog post series and get all the details.