Hi there,
I am looking to retrieve the usage logs of Azure MFA - I would like to be able to retrieve all approvals/denials/failures of login requests that prompted for MFA.
Is there an API endpoint I can use for this?
I have tried using the auditLogs/signIns endpoint, with a filter on the conditionalAccessStatus field, but this does not seem to retrieve what I need.
This KB seems to suggest it is possible, but I am unable to figure out what report to use.
https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-mfa-reporting
EDIT:
It appears I need to use the Beta API with a filter of authenticationRequirement eq 'multiFactorAuthentication' - this seems to show the results we need, but also includes lots of login requests where the authenticationMethod is Previously satisfied.
If I can filter out these results, that will do what I need! Any suggestions are much appreciated.