Logging Microsoft Graph Api calls from an Application.

Karan Dave 21 Reputation points
2020-09-24T08:26:37.167+00:00

Hi Everyone,

I have an application(mobile) registered in Azure.
This application consumes different MS Graph APIs.

Now as part of logging and usage tracking, I want to log every transaction done with graph API by a user from this application, So in-short logging every graph API call made from an application.

How to achieve this?
Is there any configuration that need to be done at application's code level or in azure environment at server?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,454 questions
0 comments No comments
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,306 Reputation points
    2020-09-25T10:05:54.477+00:00

    Hello @KaranDave-3825

    Graph API can be used to fetch and update information in various services, such as Azure AD, Exchange Online, Microsoft Teams and so on. All these services maintain the audit information separately.

    For example, if you use Graph API to create a user account, the event will be logged in Azure AD audit logs and if you use Graph API to update Mailbox settings, that information will be logged under Exchange Online audit logs and not under Azure AD.

    Auditing for all activities by Graph API can't be enabled at one place. The information has to be consolidated and then filtered on the basis of the application that makes the graph calls.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most helpful