Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Flow is triggering on wrong CDM

(0) ShareShare
ReportReport
Posted on by 9

Hello,

 I have 2 Dynamics databases (1 production 1 sandbox).  I have a flow that will take data from the dynamics system and put them into a on-premise SQL server using the gateway.  Because I'm using the gateway I have the flow in the default environment.

 

The trigger for the flow is automatic based upon if a value in the lead is modified using the CDS connector. The trigger/connector is pointed to the production instance. When the sandbox is updated, the flow is triggering. Looking at the flow run, it says it's production. 

 

Sandbox is a restored copy of production.

 

Any ideas on how to get this to stop?  I have a copy of the same flow for sandbox to transfer data to a sandbox SQL server but my expectation is that the trigger will only be triggered for the environment specified in the flow.

  • v-bacao-msft Profile Picture
    on at
    Re: Flow is triggering on wrong CDM

     

    Hi @Crazykarl7 ,

     

    Great! It appears that you have found a solution to your issue!

    If so, please click "Accept as Solution" on the reply that describes how you were able to solve your issue!

     

    Best Regards,

  • Verified answer
    Crazykarl7 Profile Picture
    9 on at
    Re: Flow is triggering on wrong CDM

    I think I fixed it. I changed the trigger to point to sandbox, saved it, and changed it back to point to production and saved it. That seems to have reset the connection so that it triggers on the correct DB.

  • tfhegdbn Profile Picture
    149 on at
    Re: Flow is triggering on wrong CDM

     

    Unsure if this is an issue, you can contact MS support to resolve your issue.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,708 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,030 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow