
Announcements
Hi all,
I created a flow in Power Automate, whereby I can fill up a form and after submission, an Azure AD account is automatically created. However, the creation of the Azure AD account does not take in the Start and End date.
Is there a workaround to this? I need the start and end date information in the Azure AD account so as to know when the account expires.
Regards,
Zuhaili.
Hi @zuhayley ,
For now, the start and end date are not supported in Azure AD account, which means there is no such kind of attribute available for start date or end date.
For the workaround, you can just create a sharepoint list to record the start date and end date, below is the step about creating records for new user:
Start:
utcNow()
End:
addDays(utcNow(),180) //for example, user should expire 180 days later.
result:
And then, you can create a scheduled flow to check the End date of each row, if End date equal to today, then delete this item and go to delete specific AD user.
Best Regards,
Hen Wang