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 / Power Automate / Office 365 Azure AD tr...
Power Automate
Unanswered

Office 365 Azure AD trigger flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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.

 

thanks

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    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.

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

    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:

    Edit: 

    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.

    24.PNG

     

    Expression:

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

    24.PNG

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

    Best Regards,

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 124 Super User 2026 Season 1

#2
Ellis Karim Profile Picture

Ellis Karim 52 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 50

Last 30 days Overall leaderboard