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