Skip to content

Latest commit

 

History

History
100 lines (69 loc) · 5.39 KB

Start-CIPPUserOffboarding.md

File metadata and controls

100 lines (69 loc) · 5.39 KB

Start-CIPPUserOffboarding

SYNOPSIS

Starts an offboarding job for a user in the specified tenant.

DESCRIPTION

The Start-CIPPOffboardingJob function initiates the offboarding process for a user, handling various cleanup tasks like removing licenses and revoking sessions.

PARAMETERS

-CustomerTenantID

Foo Foo
The ID of the customer tenant. If not provided, the default tenant is used.

-UserID

Foo Foo
The ID of the user to be offboarded.

-ConvertToSharedMailbox

Foo Foo Foo\

-HideFromGAL

Foo Foo Foo
Hide the user from the Global Address List.

-RemoveCalendarInvites

Foo Foo Foo
Remove all calendar invites for the user.

-RemovePermissions

Foo Foo Foo
Remove all mailbox permissions.

-RemoveRules

Foo Foo Foo
Remove all mailbox rules.

-RemoveMobileDevices

Foo Foo Foo\

-RemoveGroups

Foo Foo Foo
Remove the user from all groups.

-RemoveLicenses

Foo Foo Foo
Remove all licenses assigned to the user.

-RevokeSessions

Foo Foo Foo
Revoke all active sessions for the user.

-DisableSignIn

Foo Foo Foo
Disable the user's sign-in capability.

-ClearImmutableId

Foo Foo Foo
Clear the immutable ID for the user.

-ResetPass

Foo Foo Foo
Reset the user's password.

-RemoveMFADevices

Foo Foo Foo
Remove all MFA devices associated with the user.

-DeleteUser

Foo Foo Foo
Delete the user account.

-OnedriveAccess

Foo Foo
Grant OneDrive access to specified users.

-FullAccessNoAutomap

Foo Foo \

-FullAccessAutomap

Foo Foo \

-OutOfOffice

Foo Foo \

-ForwardTo

Foo Foo \

-KeepCopy

Foo Foo Foo\

EXAMPLE 1

PS > Start-CIPPOffboardingJob -CustomerTenantID "7ced1621-b8f7-4231-868c-bc6b1a2f1778" -UserID "98765432-1234-5678-9012-34567890ABCD" -RevokeSessions -RemoveGroups -DeleteUser