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 / 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:
  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard