Create a background app in my tenant which can call graph api to subscribe to email of other tenants. What steps do I need to take to create the app, and what steps do my customers need to take to authorize my app to make graph API calls in their account.

Sohil Gogri 0 Reputation points
2025-03-11T17:35:01.47+00:00

Hi,

I want to create an application that can subscribe to changes to outlook emails of my customers who have their own microsoft office 365 tenant/account. To do so I would have to create an application in my account that can make "create subscription" calls to subscribe to emails of my customers. I can create an application in my account but I can't find the clear steps for what my customers need to do to authorize my application(using application permissions) to make calls on their behalf. I see this document(https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/grant-admin-consent?pivots=portal) but that already talks about giving admin consent to an existing application in my tenant.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,257 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Saranya Madhu-MSFT 1,895 Reputation points Microsoft External Staff
    2025-03-12T03:54:21.0366667+00:00

    Hi Sohil Gogri,

    As per Microsoft documentation, managing user consent to apps in Microsoft 365, this setting controls whether users can give that consent to apps that use OpenID Connect and OAuth 2.0 for sign-in and requests to access data. An app can be created from within your own organization, or it can come from another Microsoft 365 organization or a third-party.

    If you turn this setting on, those apps will ask users for permission to access your organization’s data, and users can choose whether to allow it.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.


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.