Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

PowerShell to allow/block users from a tenant (Sign-In Status?)

$
0
0

We are migrating users from one tenant to another. We want to use a script to block all users from accessing the current tenant while the migration proceeds. It seems like we want the script equivalent of setting a user's "Sign-In Status" to "Blocked" as is possible from the tenant's user Settings page. I've been combing through all the Azure AD msol commands, and various forums, but have not found a way to do this. Does anyone know?

Many thanks,

Mark Arend, Statera, Inc.


MCS Sr Consultant


Viewing all articles
Browse latest Browse all 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>