Hi everyone,
I am encountering a critical issue with the standard ServiceNow (Premium) connector. The connection is successfully established and works perfectly in Power Automate flows, but it fails immediately when used in a Canvas App.
The Setup:
Connector: ServiceNow (Microsoft Standard/Premium)
Authentication: Basic Authentication
Instance URL: dnbtest.service-now.com (Example)
Context: Canvas App inside a Solution
The Issue: When I call ServiceNow.GetRecords(...) inside the Canvas App, it fails with Error 502.
Crucially, the error message shows that the connector is trying to resolve the wrong hostname. Instead of my configured instance URL, it is trying to reach a default Microsoft placeholder. Error Message: "The remote name could not be resolved: 'powerapps.integration.user.service-now.com'"
(See attached screenshot of the error details)
Troubleshooting: Verified that the exact same Connection Reference works in a Power Automate flow (it retrieves data correctly). Deleted and re-added the datasource in the Canvas App. Verified the Instance URL is the full FQDN. It seems like the Canvas App runtime is failing to pass the configured Instance URL to the gateway, defaulting to powerapps.integration... instead.
Has anyone seen this discrepancy between Flow and Apps before? Is there a way to force the App to respect the Instance URL?
Thanks!