It depends on the calls done. Most workloads do not log "read" operations in the audit log, so you will not be able to address scenarios such as enumerating users and groups. You can however audit logins to the default apps used by the Graph module or Graph explorer, or even block them altogether for end users. It will not stop custom apps, but it's a good option. https://office365itpros.com/2023/10/12/block-powershell-m365/
How to monitor calls to Azure CLI, Powershell, Microsoft Graph... from a user?
Steven Joseph Paredes Baquerizo
20
Reputation points
Hi everyone,
I would like to know if there is a possibility to log the events of the calls made through the API to query information. The goal is to know if they are making many calls that triggers an alert in Sentinel to see if an attacker is doing an enumeration.
For example, if I run get-EntraUser -All with my user I would like to know where it is logged or if it can be logged, how would that be done?
Thanks in advance.