Hi all,
I have set up a flow to post a message on teams channel when a new Lead is created by a specific user as below. But it's not working. What am i doing wrong? Could you please help? Thx!
Hi all,
I have set up a flow to post a message on teams channel when a new Lead is created by a specific user as below. But it's not working. What am i doing wrong? Could you please help? Thx!
Hi T Reddy,
I tried also with your connector and it is working fine. But What I see on your screenshot you use 2 x Team Message action. Please delete your flow and create it from the beginning. You lose just a few minutes. When you add a condition and select owner or created by field value you cannot use string you must use ID. In your case use the created by field not owner.If it is stopped after condition then check the reason and error?
Take as a reference the following links for how to use the connector for the future. (at least after 22 April)
Thank you so much for your instructions. I will try this.
But just to let you know my flow was working fine (My Flows) when i created it but stopped working when i added a condition.
Hi Reddy,
here is a step by step example. I tested on my trial environment and successfully working.
First, create a Solution on Power Automate (You can select "Common Data Service (current environment) only using the solution)
Fill it required fields for the solution from right side pop-up
Then click on New in Solution and select Flow
Then you need two-step to create your Power Automate:
How:
Write "Common Data Service" in the search field by Search connector and triggers
Select Common Data Service(current environment)
Then select "When a record is created, updated or deleted" trigger
Then ad new step select "Condition" fill the field as like this:
Add action on the "If yes" stage for this select Microsoft Teams action
fill the required fields
Save your Power Automate then test it. Create a lead with the selected user ID checks the result.
on the Team message:
Hi,
Can you please share your Test's screenshot ?
Hi Mehdi,
I have tried with GUID, but no luck :(
Thx!
Hi,
Your if condition will always return NO. In fact, The Owner field is a GUID. Comparing the GUID with the Owner Name will always return False.
To resolve your issue please refer to the image below:
Let me know if you need more guidance to get the GUID.
Hi,
I think so you used old Dynamics 365 connection. Please try to create your flow under solution with CDS Current version.
André Arnaud de Cal...
292,489
Super User 2025 Season 1
Martin Dráb
231,305
Most Valuable Professional
nmaenpaa
101,156