Tech Community Live: Microsoft Intune
Mar 20 2024, 07:30 AM - 11:30 AM (PDT)
Microsoft Tech Community

Prevent Terminated Users from Sending Email

Copper Contributor
We are a medium sized company in which it does not take 30 minutes to terminate a user. We have been unable to find a way to prevent users from sending email from Outlook Mobile within the 30 minutes it takes for the wipe to start occurring. Has anyone been able to do this?
1 Reply

Hi Sue,

 

I would revoke all tokens and then disallow all email sending of mails larger than 0 KB for the user. This might be a quick solution.

 

Exchange Admin Center > User > mailbox features > message size restrictions > maximum message size (KB) > 0

 

Revoke the tokens with AzureAD cmdlets:

Revoke-AzureADUserAllRefreshToken

Revoke-AzureADSignedInUserAllRefreshToken

 

give it a try.

 

best,

Oliver