Hello,
I am trying to query a dataverse table using the "Execute a SQL query (V2)" connector, but getting the follwoing error already on saving:

I do have access to the environment/table - i.e. when the offending step is removed, the "List rows (legacy)" step executes just fine.
Also, I am able to run the same query using Power Query or SSMS:


The error message suggests something is wrong with the connection, but it looks fine to me.

Same issue in PowerApps with its SQL connector:


And again, I am able to access this data just fine in PowerApps using the Dataverse connector.
As can be seen in the first screenshot, the Flow is not in the same environment as the table I try to query (though not sure if this is relevant). Same with the Power App. These aren't actual environment names, I did doctor these screenshots up a bit to better illustrate the issue. The cases/incident table is also just an example, the actual table I want to query is ActivityParty table which is not available via the Dataverse Legacy connector, but it is available via SQL (as seen in Power Query and SSMS screenshots) so I am expecting it to be available via SQL connector in Power Automate, once that connection issue is resolved - any idea how it can be fixed, please?