End of Life reached for Extract Any Mail Pro and Email Sorter Pro View Details!

Blog

Registering an App in Azure Portal to Obtain Client ID for OAuth with Microsoft 365 – Email Extraction with Extract Any Mail Ultimate

Author Profile Image
Admin
April 21, 2025

What is OAuth 2.0?

OAuth 2.0 is an industry-standard authorization framework that enables third-party applications to gain limited access to user resources without exposing user credentials. It works by issuing access tokens to applications, allowing them to interact with APIs on the user’s behalf. OAuth 2.0 supports multiple grant types like authorization code, client credentials, and refresh tokens, making it flexible for web, mobile, and desktop apps.

What does OAuth 2.0 have to do with Extract Any Mail Ultimate?

The Extract Any Mail Ultimate is an email extractor software that extracts email addresses from an email account. Since it is a 3rd party application (not an Office365 application), it is mandatory to have OAuth 2.0 access to extract email addresses from an Office365 account or Microsoft email accounts (Hotmail, Outlook, MSN. Live etc).

How to achieve this?

To be able to extract email addresses from an Office365 account or Microsoft account you need to follow some small and simple steps. However, you need to have sufficient access to the email accounts to achieve this. You need to follow the below mentioned steps to complete the whole process.

Step 1: Logging in to the Office365/Microsoft Account

  1. Open a modern web browser (Google Chrome, Microsoft Edge, Firefox etc).
  2. Go to the login URL and login to the account.
  3. After logging into your Microsoft account got to this URL: https://portal.azure.com

Step 2: Registering an Application in the Azure Portal

  1. In Azure Portal, go to Microsoft Entra ID > Add > App Registration
  2. Set app name and account type (In this case, select 3rd option).
  3. Select Application type and enter a redirect URL (For our Extractor, enter http://localhost:3017).
  4. After registration, copy the Client ID from the app’s Overview page.
  5. Now you need to enable “Public client flow”. For that go to Manage → Authentication → Allow public client flows → Set it to “Yes” → Save.

Step 3: Adding an OAuth account in the Extract Any Mail Ultimate.

  1. Install the Extract Any Mail Ultimate software (If you haven’t done it already).
  2. Open the software and click on the “Add Account” option
  3. Choose the “OAuth Login Account” option.
  4. It will bring up the OAuth account setup wizard.
  5. Enter the email address you want to extract from.
  6. Select the browser where you have already logged in to the account.
  7. Enter the Client ID that you got after registering the application on step 2.
  8. Once you enter the Clind ID and click “Next”, it will open a window in the browser you selected.
  9. Enter the email address again on the login page and approve the login (e.g., Outlook mobile app).
  10. Then accept the terms to grant access to the application.
  11. Once you successfully grant access to the application, you will be redirected to a window/tab when it will show Extract Any Mail Ultimate authentication successful.”
  12. Then open the Extract Any Mail Ultimate Application and you will see “Success! OAuth Authentication”.
  13. Now, choose “All Folders” or “Specific folder” by clicking the “Load Folders” option.
  14. Then click the finish option to complete adding the account for extraction.

Step 4: Extracting email addresses

  1. Click start task to initiate the email extraction process.
  2. On the next window, select “Do not mark email as read” and click “Start Process”.
  3. The email extractor will now finally extract addresses according to the selected options.

Step 5: Exporting the extracted email addresses

Once the email extraction is completed, you need to save the extracted email addresses. For that, click the “Export Results” option and select your desired file format for saving the email addresses.

The “Export Text” option only saves the email addresses, no other information is saved. If you need all other information, consider choosing from the other three options.

Conclusion

This concludes our tutorial post on how to register an application in Azure Portal for getting the Client ID which is needed for accessing Office365 or Microsoft account from a 3rd party application. Hope this helps you to extract email addresses using our Extract Any Mail Ultimate. Some of the settings or options may vary depending on your email account and organizational settings. However, the settings and process are the same for all Microsoft accounts.

Let us know if you encounter any issues while setting up the OAuth. Our support team will assist you, but please bear it in mind that you must have sufficient access to the account to perform all these steps.

ASTGD

Explore All Our Services

Discover powerful hosting solutions, premium VPS plans, and tools designed to boost your website’s performance and reliability.

Explore ASTGD

If you are still having any issues or confusion, please feel free to contact us.

Related Blogs

Interested in similar content?
Check out these related blogs from the same category.
Email Marketing
April 21, 2025

Registering an App in Google Cloud Console for Gmail OAuth: Client ID Setup for Email Extraction with Extract Any Mail Ultimate

OAuth for Gmail or Google Workspace..
Learn More
Email Marketing
April 21, 2025

Registering an App in Azure Portal to Obtain Client ID for OAuth with Microsoft 365 – Email Extraction with Extract Any Mail Ultimate

What is OAuth 2.0? OAuth 2.0 is an industry..
Learn More
Devexpress XAF
January 7, 2026

Semantic search/ Contextual search in DevExpress XAF Blazor

Recently we completed a software ...
Learn More
Business Management
October 10, 2025

Membership System

Amanat Super Shop, a well-known super shop store at ....
Learn More
Email Marketing
November 5, 2023

Email Line Length Limits

According to the RFC Internet Message Format memo ....
Learn More
Email Marketing
November 1, 2023

Is Email Formatting Affecting Your Inbox Delivery ?

In order to determine which emails.....
Learn More
Email Marketing
October 30, 2023

Email Sorter Pro New

New Email Sorter Pro has been released. This Email Sorter....
Learn More
Email Marketing
October 25, 2023

Extract Any Mail Pro NEW

Finally, a way to get all your email contacts (from all folders) from....
Learn More
WhatsApp
ASTGD Support
Typically replies in a few hours
Hi there! 👋
How can we help you today?