Get admin info after admin conset process

Евгений Булкин 21 Reputation points
2021-05-08T05:29:56.577+00:00

Hi all
I'm using /adminconset endpoint in my application to get access to all organization users and it works fine for me.
But i want also to get email of user(admin) that give me that admin conset, but in callback i got only tenant id of organization and adminconset=true.
I think about reading all users with global admin role but there can be many admin and maybe some of them not active at all.
Anybody know any ways how to do it?
Thanks.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
25,019 questions
{count} votes

Accepted answer
  1. Danstan Onyango 3,906 Reputation points Microsoft Employee
    2021-05-12T08:00:22.017+00:00

    In your case, there is no way to access the admin who consented through an API. You can try going to Azure and checking the audit logs.

    Go to Azure Portal>Azure Active Directory>Enterprise Applications>Your Application>Audit Logs

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.