Forum Discussion
windows2000
Apr 06, 2020Brass Contributor
Disabled teams account can still log in
Hey i am noticing a behaviour that i can reproduce right now that is very disturbing to my users/managers. We are having to terminate people due to covid, but we want to offer the ability for the...
- Apr 06, 2020
looks like i was able to block the attempt after some time now with the following command:
Revoke-AzureADUserAllRefreshToken -ObjectId user@domain.ca
ref: https://www.petri.com/blocking-access-office-365-user
of course you have to connect to azure first with powershell.
Install-Module AzureAD -Force
Import-Module AzureAD
Connect-AzureAD
PDostiyar
Apr 06, 2020Bronze Contributor
windows2000A quick workaround for this solution could be turning off their Teams License so they are not able to use Microsoft team in desktop/Mobile/could version since if they try to login they will get no license / active Team license.
I hope this will work and resolve your issue!
Wignacourt
Jun 19, 2020Copper Contributor
I tried that about three weeks ago and it worked, I tried it again yesterday and it didn't work. I think you need to revoke licences