Apr 08 2019 08:27 AM - last edited on Nov 09 2023 11:10 AM by
Looking to user Powershell to unblock a user within Azure MFA if they get blocked. I can Enable, Enforce, and Disable via Powershell but I am not finding those commands for PowerShell.
Apr 08 2019 09:33 AM
Can you clarify what exactly mean by unblock? There is no block feature in Azure MFA, there is one when using MFA Server. And no, there isn't a way to configure it via PowerShell.
The other thing that comes in mind is identities blocked by the Azure Identity Protection?
Apr 08 2019 10:27 AM
Sure, We are having users get blocked when they accidentally press Deny from the Microsoft Authenticator App.
To unblock them we have to open Azure Active Directory Admin Center or (https://aad.portal.azure.com/#blade/Microsoft_AAD_IAM/MultifactorAuthenticationMenuBlade/Overview/fr...) open MFA / Under Settings open Block/Unblock users, then unblock that account.
We have a Hybrid domain and normally we can enable, Enforce, Disable from https://account.activedirectory.windowsazure.com/UserManagement/MultifactorVerification.aspx But Unblock / Block is NOT an option there.
I have a Powershell Script to Enable, Enforce, Disable, but I do not see anything on unblocking a user.
Apr 09 2019 01:25 AM
SolutionInteresting, I've never seen deny result in a block when using Azure MFA. I just did a quick test with my account and it doesn't result in blocking. Perhaps I'm missing something...
In any case, the unblock action can only be done via the portal UI afaik.
Jul 12 2019 11:25 AM
When any MFA enabled Microsoft or Office 365 user has tried login in with incorrect password then the user account gets blocked and can be unblocked using below URL.
Even if you have basic free subscription a Global Admin can Login here an unblock the user account.
More details:-
https://blogs.technet.microsoft.com/tfg/2015/12/02/english-unblocking-azure-mfa-for-an-o365aad-user/
Hope that answers the question however any unanswered queries about MFA or Office 365 are welcome.
Jul 09 2020 06:29 PM
Oct 27 2021 11:13 AM
@Pernille-Eskebo
It would be great if when a user is "blocked MFA," it appears in both portal.microsoft.com/users and AAD/users when looking over the user. Much in the same way that "sign-In blocked" shows in both those locations.
This would be greatly useful for the helpdesk knowing when to escalate and knowing exactly what the issue is. Thanks.
May 11 2023 07:41 AM
Jun 21 2023 02:50 PM - edited Jun 21 2023 02:53 PM
Thank you @Ajij_Shaikh for your solution since this is still an issue!
Sep 10 2024 11:51 PM
@TDoss Thanks a lot, this helped me in a scenario where one of the user in my Org blocked herself
Apr 09 2019 01:25 AM
SolutionInteresting, I've never seen deny result in a block when using Azure MFA. I just did a quick test with my account and it doesn't result in blocking. Perhaps I'm missing something...
In any case, the unblock action can only be done via the portal UI afaik.