How to add a custom attribute to a user in Azure AD?

Danny Sanchez 0 Reputation points
2023-05-23T15:50:35.4466667+00:00

We need to add several custom fields to the user properties in Azure AD, which can be read from a Sahrepoint, for example the birthday of an employee

Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. James Hamil 27,211 Reputation points Microsoft Employee Moderator
    2023-05-23T19:40:41.21+00:00

    Hi @Danny Sanchez , you can do this by using B2C and following this guide.

    1. Sign in to the Azure portal.
    2. Make sure you're using the directory that contains your Azure AD B2C tenant. Select the Directories + subscriptions icon in the portal toolbar.
    3. On the Portal settings | Directories + subscriptions page, find your Azure AD B2C directory in the Directory name list, and then select Switch.
    4. In the left menu, select Azure AD B2C. Or, select All services and search for and select Azure AD B2C.
    5. Choose All services in the top-left corner of the Azure portal, search for and select Azure AD B2C.
    6. Select User attributes, and then select Add.
    7. Provide a Name for the custom attribute (for example, "Birthday").
    8. Choose a Data Type. Only String, Boolean, and Int are available.
    9. Optionally, enter a Description for informational purposes.
    10. Select Create.

    Please let me know if you have any questions and I can help you further.

    If this answer helps you please mark "Accept Answer" so other users can reference it.

    Thank you,

    James


  2. Konstantinos Passadis 19,586 Reputation points MVP
    2023-05-26T21:24:08.1566667+00:00

    Hello @Danny Sanchez!

    From my understanding is that you have Azure AD DS or DC on VM on Cloud ?

    For WIndows AD you can follow this guide

    https://windowstechno.com/how-to-create-custom-attributes-in-active-directory/

    But if you are using AD Connect , then you must make sure that it syncs also the Attributes !

    https://learn.microsoft.com/en-us/azure/active-directory/app-provisioning/user-provisioning-sync-attributes-for-mapping

    Azure Active Directory Connect wizard Optional features page

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.