Showing results for 
Search instead for 
Did you mean: 
Level: Power Up

Office 365 Azure AD trigger flow

I would like to trigger flows from dates stored against users in their directory profile


For example:

* if a profile has the birthday set then trigger a workflow where we can notify team of the birthday

* based on custom date field stored on the profile which has when the employees access card expires we can send a renewal 2 weeks before.



Community Support Team
Community Support Team

Re: Office 365 Azure AD trigger flow

Hi @crafty,


There is currently no similar trigger for Office 365 and Azure AD like you mentioned.

If you want such a trigger to be supported by MS Flow, you could post your idea in the Flow Ideas forum, so it might be considered for future releases.

In addition to the two examples you mentioned, perhaps you could achieve your needs through other means.

Take the example of birthday:

  • Use Recurrence as a trigger to run Flow once a day.
  • Configure Search for users to get all user ids, then configure Get user profile action to get user's birthday. (Default everyone has set their own birthday)
  • Configure Condition to determine whether Birthday is equal to today. If yes, send the email with the user's information and blessings.
  • Another thing worth considering is that the same day may be the birthday of multiple users, so you could use variable to store the information of these users, send only one message containing these users.

Image reference:


Considering that there may be no birthday on that day, we need to add a condition to determine whether the variable is empty. If it is empty, no mail will be sent.




@equals(formatDateTime(body('Get_user_profile_(V2)')?['birthday'], 'yyyy-MM-dd'), utcNow('yyyy-MM-dd'))


Please take a try if it meets your needs a little bit.

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,319)