SOLVED

how to automatically disable user on aad when users not signed in 30 days on hybrid azure ad joined

Brass Contributor

Hi, 

Anyone who knows how to automatically disable user on aad when users not signed in specific days from aad?

It is easy to make and handle on on-premise active directory using powershell with scheduler, but I don't know in aad environment. 

 

We made up a hybrid azure ad join environment , there are two kinds of users. 

All users are syncing from on-prem server using aad connect. 

One is hybrid azure ad joined users who joined on-prem at first. 

Another is azure ad joined users.  

 

Hybrid azure ad joined users , we can easily manage their accounts even if they cannot sign in specific days using some script with scheduler checking using lastlogontimestamp.

But Azure ad joined users are not like this, someone suggest using azure automation account with microsofth graph api, is that right?

 

2 Replies
best response confirmed by hongwoo_jin (Brass Contributor)
@hongwoo_jin appreciate if you could mark my response as correct answer/best response if it did provide the information to your query, that will help us better understand what kind of information actually helps.
1 best response

Accepted Solutions
best response confirmed by hongwoo_jin (Brass Contributor)