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
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
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