Name:Azure AD User Consent Denied for OAuth Application id:bb093c30-d860-4858-a56e-cd0895d5b49c version:14 date:None author:Mauricio Velazco, Splunk status:production type:TTP Description:The following analytic identifies instances where a user has denied consent to an OAuth application seeking permissions within the Azure AD environment. This detection leverages Azure AD's audit logs, specifically focusing on user consent actions with error code 65004. Monitoring denied consent actions is significant as it can indicate users recognizing potentially suspicious or untrusted applications. If confirmed malicious, this activity could suggest attempts by unauthorized applications to gain access, potentially leading to data breaches or unauthorized actions within the environment. Understanding these denials helps refine security policies and enhance user awareness. Data_source:
| stats count min(_time) as firstTime max(_time) as lastTime BY dest user src vendor_account vendor_product appDisplayName status.failureReason signature