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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Subscribing to When a Business Event occurs in Power Automate creates multiple endpoints - Bad Gateway error

(0) ShareShare
ReportReport
Posted on by 1,800

Hi,

Anyone had an issue of subscribing to When a Business Event occurs in Power Automate creates multiple endpoints in D365 F&O untill it reaches the limit?

I am connecting to a devbox. 

It happens once you Turn the flow on. It shows the following error in the trigger:

Raw input: 

{
    "host": {
        "connectionReferenceName""shared_dynamicsax_1",
        "operationId""SubscribeOnABusinessEvent"
    },
    "parameters": {
        "dataset""<Removed>",
        "businesseventcategory""<Removed>",
        "businessevent""<Removed>",
        "legalEntity""<Removed>"
    }
}


Raw output:

{
    "statusCode"504,
    "headers": {
        "Pragma""no-cache",
        "Cache-Control""no-store, no-cache",
        "Set-Cookie""ARRAffinity=<Removed>;Path=/;HttpOnly;Secure;Domain=dynamicsax-ne.azconn-ne-002.p.azurewebsites.net,ARRAffinitySameSite=<Removed>;Path=/;HttpOnly;SameSite=None;Secure;Domain=dynamicsax-ne.azconn-ne-002.p.azurewebsites.net",
        "x-ms-request-id""<Removed>",
        "Strict-Transport-Security""max-age=31536000; includeSubDomains",
        "X-Content-Type-Options""nosniff",
        "X-Frame-Options""DENY",
        "Timing-Allow-Origin""*",
        "x-ms-apihub-cached-response""true",
        "x-ms-apihub-obo""false",
        "Date""Thu, 09 Feb 2023 13:02:31 GMT",
        "Content-Length""579",
        "Content-Type""application/json",
        "Expires""-1"
    },
    "body": {
        "error": {
            "code"504,
            "source""flow-apim-europe-002-northeurope-01.azure-apim.net",
            "clientRequestId""8fba3d40-c00d-4294-bf3d-357ff366c112",
            "message""BadGateway",
            "innerError": {
                "status"504,
                "message""Request timed out.\r\n     inner exception: A task was canceled.\r\nclientRequestId: 8fba3d40-c00d-4294-bf3d-357ff366c112",
                "error": {
                    "message""Request timed out.\r\n     inner exception: A task was canceled."
                },
                "source""dynamicsax-ne.azconn-ne-002.p.azurewebsites.net"
            }
        }
    }
}



I have the same question (0)
  • Evaldas Profile Picture
    1,800 on at

    It magically solved itself. Most probably was a problem on MS side.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 66 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans