Skip to content

Commit

Permalink
Add MFA remove to offboarding wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Jan 2, 2025
1 parent 391da0d commit 8bf58c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Modules/CIPPCore/Public/Invoke-CIPPOffboardingJob.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ function Invoke-CIPPOffboardingJob {
"Removal of permissions queued. This task will run in the background and send it's results to the logbook."
}
}
{ $_.'RemoveMFADevices' } {
Remove-CIPPUserMFA -UserPrincipalName $Username -TenantFilter $TenantFilter -ExecutingUser $ExecutingUser
}

}
return $Return
Expand Down

0 comments on commit 8bf58c6

Please sign in to comment.