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 / Custom Connector not w...
Power Apps
Suggested Answer

Custom Connector not working in a new environment

(0) ShareShare
ReportReport
Posted on by
Hi, I have a custom connector (Azure API using OAUTH) that works fine in our older power platform environments, but does not work in any newer environments. I have checked DLP, security, etc.   The error is 504 GATEWAY TIMEOUT when calling ConfirmConsentCode page.   Has anyone every seen something similar happen?  The new environments are on a different microsoft cluster.  It gives me a correlation ID and Microsoft gateway name, but I don't know how to troubleshoot this any further. 
I have the same question (0)
  • Suggested answer
    Jon Unzueta Profile Picture
    1,827 Super User 2025 Season 2 on at
     

    It sounds like you're dealing with a tricky issue. The 504 Gateway Timeout error typically indicates that the server didn't receive a timely response from another server. Here are some steps you can take to troubleshoot this problem:

    1. Check Network Connectivity: Ensure that there are no network issues between your new environment and the Azure API. Sometimes, network latency or interruptions can cause timeout errors.

    2. Review API Configuration: Verify that the API configuration in the new environment matches the older environment. Check for any differences in settings, especially related to OAuth and endpoint URLs.

    3. Increase Timeout Settings: If possible, increase the timeout settings for the API calls in your custom connector. This can sometimes resolve timeout issues.

    4. Check Cluster Differences: Since the new environments are on a different Microsoft cluster, there might be differences in how the clusters handle requests. You can check the cluster documentation or contact Microsoft support for more details.

    5. Correlation ID and Gateway Name: Use the correlation ID and gateway name provided in the error message to trace the issue. Microsoft support can help you analyze these identifiers to pinpoint the problem.

    6. Solution Checker: Run the Solution Checker in Power Platform to validate your custom connector against best practices and identify any issues.

    7. Logs and Monitoring: Check the logs and monitoring tools for any errors or warnings that might give more insight into the issue.

    If these steps don't resolve the issue, you might need to contact Microsoft support for more detailed assistance. They can help you analyze the correlation ID and gateway name to find the root cause.

    If the response is helpful to you, a like or mark as the correct solution. thank you so much!

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
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard