appid in adb2c logs using graph api

Shashanka Mallapragada 21 Reputation points

@Vaibhav Chaudhari ,

My requirement is using Graph API, get Azure ADB2C SignIn Logs and DirectoryAudit logs with a token (already in place). The token is generated using ClientID (Registered one) in ADB2C.

With the help of Graph API documentation, we are able to get the above said logs in Json format. Our expectation is the AppId that we see in the logs response should be same as the AppId we provided while getting the token. Just wanted to know is my assumption correct ?
If yes, how can we achieve it using Graph API

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,703 questions
0 comments No comments
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,441 Reputation points

    anonymous user If I understood your question correctly, you acquired a token in application context by using client credentials flow and used that token in order to fetch the sign-in logs. Now you do not see a sign-in event logged for the authentication performed via client credentials flow.

    If this is the case, it is by design. We log sign-in events only for interactive logons performed via user accounts. If the authentication is non-interactive, which means it is either done by submitting refresh token or by using client credentials, sign-in event logs will not be logged.


    Please "accept as answer" or "vote as helpful" wherever the information provided helps you to help others in the community.

0 additional answers

Sort by: Most helpful