Run this on the gateway machine. If the port fails, fix SQL Server TCP/IP, firewall, or the server name before creating the Power Automate connection.
Test-NetConnection <sql-server-name-or-ip> -Port 1433Diagnose SQL Server connection failures, invalid credentials, gateway reachability, table metadata issues, and V2 trigger requirements for Flow Migrator SQL actions.
Run this on the gateway machine. If the port fails, fix SQL Server TCP/IP, firewall, or the server name before creating the Power Automate connection.
Test-NetConnection <sql-server-name-or-ip> -Port 1433Use the same server, database, username, and password you will enter in Power Automate. A failed sqlcmd or SSMS login means the issue is still SQL authentication, not Flow Migrator.
sqlcmd -S tcp:<server>,1433 -d <database> -U <user> -P "<password>" -Q "SELECT SUSER_SNAME(), DB_NAME();"For SQL logins, SQL Server must be configured for SQL Server and Windows Authentication mode. After changing this setting, restart the SQL Server service.
For SQL Server V2 triggers, verify the schema before blaming the connector. The created trigger depends on an identity-style increasing key. The modified trigger depends on rowversion.
SELECT name, is_identity FROM sys.columns WHERE object_id = OBJECT_ID('dbo.YourTable');SELECT name, system_type_id FROM sys.columns WHERE object_id = OBJECT_ID('dbo.YourTable') AND system_type_id = 189; -- rowversion/timestamp| Field | Use this value |
|---|---|
| Server name | localhost,1433 only when SQL Server is on the gateway machine; otherwise use machine name or IP. |
| Database name | Exact SQL database name, for example FlowMigratorSqlLab. |
| Authentication | SQL Server Authentication is the simplest lab path; use a dedicated SQL login. |
| Gateway | The gateway machine that can reach the SQL Server host and port. |