How can I download all my users with the smtp information

Kilburn, Stephanie (CO) 0 Reputation points
2026-09-02T18:52:40.44+00:00

I need to download all my current users in Azure with SMTP information

Microsoft Security | Microsoft Identity Manager
0 comments No comments

2 answers

Sort by: Oldest
  1. AI answer

    2026-09-02T18:52:53.9933333+00:00

    In Microsoft Entra admin center, a user export can include SMTP-related data.

    Steps:

    1. Sign in to the Microsoft Entra admin center.
    2. Go to Microsoft Entra ID.
    3. Select Users > All users.
    4. Use Download users to export the current user list to CSV.

    For SMTP information:

    • The standard export includes the mail attribute.
    • In the improved Download users (Preview) experience, additional exportable attributes include Proxy addresses, which is the relevant field for SMTP address data.
    • To use that preview flow, select Download users (Preview) from the command bar, then select Start download. When it completes, select File is ready! Click here to download.

    Notes:

    • The download contains the filtered list of users if filters are applied on All users.
    • Both admin and standard users can download user lists.
    • If needed, check request status in Bulk operation results or Bulk operation results (Preview).
    • If a large export does not complete within an hour in the standard bulk flow, reduce the result set by filtering users before exporting.

    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. kagiyama yutaka 5,330 Reputation points
    2026-09-02T23:52:06.1633333+00:00

    I think SMTP for every Azure user comes from the proxyAddresses attribute, and the simplest way to download it is to run Get-MgUser -All -Property proxyAddresses and export the output. 

    Was this answer helpful?

    0 comments No comments

Your answer

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