The CreatorCon Call for Content is officially open! Get started here.

Create Incident if inactive User tries to login

Dominik9
Tera Guru

Hi experts

We have enabled the "Auto Provisioning User" for our Azure Identity Provider which automatically creates users when they log in for the first time. Now we want to set "Locked Out" to "True" for users who have not logged in for 3 months. After another 3 months we want to set "Active" to "False". If these users try to log in again, an incident should be created.

But now the situation is that when a user tries to login that is inactive, the system tries to create a new user. How can I catch this so that it doesn't try to create a new user, but realizes that there is already a user who is simply inactive?

Users that are locked out but active are detected and we can catch this directly in the transform map script. Unfortunately, this does not work for inactive users.

Does anyone have an idea?

 

Thanks

Dominik

10 REPLIES 10

@Dominik9 , Hope you are doing well.

If my response helped you If this solution helped Please Mark this solution as accepted and helpful as it will be helpful for other users as well.
Best Regards.
Saurabh V.