web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Tools connecting to Az...
Copilot Studio
Suggested Answer

Tools connecting to Azure Search all return error 500, BadGateway

(0) ShareShare
ReportReport
Posted on by 21
I created a tool in my Copilot to be able to search Azure Search indexes, but it fails every time. The search resource in Azure is setup with public networking enabled and I can issue queries from a local desktop client just fine. I'm connecting using the endpoint and key in both instances. I tried vector and semantic hybrid in case that mattered. It connects to the same search service as knowledge, just not as a tool. Any help would be appreciated.
 
Categories:
I have the same question (2)
  • Suggested answer
    Sam_Fawzi Profile Picture
    879 Super User 2026 Season 1 on at
    here are couple of troubleshooting steps that might help you tracing the issue:
     
     
    1. Verify the endpoint value in the connector
    In the Azure AI Search (Preview) connector, the “Endpoint URL” must be:
    https://<your-search-service-name>.search.windows.net
    • No index name
    • No /indexes/.../docs path
    • No ?api-version=... query string
    Must be HTTPS, not HTTP
    The connector documentation shows this explicitly for the Access Key auth mode. 
    Microsoft Learn
    If the URL is http://... or includes extra path/query parts, the gateway returns a 502 Bad Gateway, which Copilot surfaces as the 500 / ConnectorRequestFailure you’re seeing. 
     
    Action:
    Delete the existing connection, create a new Azure AI Search connector connection, and paste only the base HTTPS endpoint from the Search service “Overview” blade in the Azure portal.
     
    2. Check the authentication mode and key
     
    3. Networking: confirm Copilot can reach the service
     
    4. Index + action configuration
     
    let me know if you need any details about the above.
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 599

#2
chiaraalina Profile Picture

chiaraalina 170 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 118

Last 30 days Overall leaderboard