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 Apps / ServiceNow Connector: ...
Power Apps
Unanswered

ServiceNow Connector: Works in Flow, Fails in Canvas App (Error 502)

(0) ShareShare
ReportReport
Posted on by 2
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!
Power apps error.png
I have the same question (0)

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 Apps

#1
Kalathiya Profile Picture

Kalathiya 401

#2
WarrenBelz Profile Picture

WarrenBelz 334 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 325 Super User 2025 Season 2

Last 30 days Overall leaderboard