User birth date property in Azure/M365

Matt Sad 55 Reputation points
2023-10-03T15:42:36.9566667+00:00

I want to add birth dates for all users in the tenant and then use this information in Power Automate to create a workflow that sends Teams messages and emails on their birthdays. I don't want to store this data in a SharePoint list.

I've attempted two approaches so far:

  1. I tried to update the birth date in Delve, but I couldn't do it in bulk for all users (not optimal anyway, we are not utilizing Delve).
  2. Creating a custom security attribute in Entra ID, but I couldn't assign it to all users in bulk.

Is there another solution to add the birth date property for all users more effectively?

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
3,792 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,475 questions
{count} votes

Accepted answer
  1. Vasil Michev 95,416 Reputation points MVP
    2023-10-03T15:54:59.2433333+00:00

    There's a built-in birthday property you can leverage via the Graph API:

    birthday DateTimeOffset The birthday of the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00ZReturned only on $select.

    You can use the standard GET/PATCH requests to work with it.


0 additional answers

Sort by: Most helpful