Connecting a Web App Hosted in Azure to Exchange Online via Graph API

Marcin Wawryszczuk 0 Reputation points

I need to build a connection from a custom web app hosted in Azure (with backend in App Function) to my company's Exchange Online account.

The goal is to connect to one shared inbox of Exchange Online, check emails which came in the last e.g. 1 hour and download attachments from these emails. Is it possible to connect via Graph API?

Should it be like: the web application via Graph REST API calls corporate Exchange Online and then get messaget and attachments for specific account? Is there any better architecture for achieve that?

Microsoft Exchange Online
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,381 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Marcin Wawryszczuk 0 Reputation points

    Thank you very much for your valuable reply. I assume we can connect the same way to also individual inboxes, not only shared ones?

  2. Deepanshu Sharma 490 Reputation points Microsoft Vendor

    Yes, it is possible using the Microsoft Graph API. However, you will need to have the appropriate permissions and authentication to do so.

    Here are some steps you can follow to achieve your goal:

    below are some links which can help in process.

    0 comments No comments