The method for monitoring unsuccessful login tries using an Azure AD B2C Custom Policy involves the following steps:
Create an application in the Azure AD B2C tenant that will serve as the monitoring application. This application will receive the unsuccessful login attempts and store them in a database or log.
Modify the Custom Policy XML to include a ClaimsTransformation that will extract the necessary information from the unsuccessful login event, such as the user name and the login timestamp.
Add an orchestration step in the Custom Policy that will call the ClaimsTransformation and pass the information to the monitoring application.
Configure the monitoring application in Azure to receive the information and store it in a database or log.
Implement a mechanism to periodically review the stored information and generate alerts or reports as necessary.
Note that the specific implementation details may vary depending on the requirements of the particular application and the available resources.
Asked: 2023-05-20 17:47:51 +0000
Seen: 9 times
Last updated: May 20 '23