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
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:
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.
Expression:
@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,