web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to record start/en...
Power Automate
Answered

How to record start/end date in my Azure AD Account after creation via Power Automate

(0) ShareShare
ReportReport
Posted on by 2

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.

 

zuhayley_0-1684372242977.png

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.

Categories:
I have the same question (0)
  • Verified answer
    HenWang Profile Picture
    Microsoft Employee on at

    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:

    HenWang_0-1684379584957.png

     

    Start: 

    utcNow()

     

    End:

    addDays(utcNow(),180)   //for example, user should expire 180 days later.

     

    result:

    HenWang_1-1684379670689.png

     

     

    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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard