Change language of a shared mailbox in Office365

##################################################
# Login to Exchange
##################################################

$Credential = Get-Credential
$ExchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://outlook.office365.com/powershell-liveid" -Credential $credential -Authentication "Basic" -AllowRedirection

##################################################

Import-PSSession $ExchangeSession

set-MailboxRegionalConfiguration -id example@example.com -LocalizeDefaultFolderName:$true -Language en-US
Get-PSSession | Remove-PSSession