Disable User Mailbox through Automation

Disable User Mailbox through Automation

When I enable the task to disable a user mailbox through the automation process, does this take effect in the Exchange server on ground or will it also disable the O365 portion of the mailbox.

We are a hybrid environment.

                New to ADSelfService Plus?