Default setting for MAPIBlockOutlookRpcHttp
According to the previous post from other member, I have a same problem in it too. http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/2ccec21b-bafa-40fa-911e-26853ff8affd/ Now I need to allow my mobile users can use an Outlook Anywhere in their laptop, and I want to disallow other users to establish Outlook Anywhere in their home. I found out there is a parameter named "MAPIBlockOutlookRpcHttp" in the Get-CASMailbox cmdlet and it is set to "False" as a default value. Current work around: I run the following command to reset all clients to "True" Get-mailbox | Set-CASMailbox -MAPIBlockOutlookRpcHttp:$True Afterward I set it into "False" separately (For mobile users) Set-CASMailbox "peter" -MAPIBlockOutlookRpcHttp:$False Set-CASMailbox "paul" -MAPIBlockOutlookRpcHttp:$False Set-CASMailbox "mary" -MAPIBlockOutlookRpcHttp:$False and so on... ... .. It's fine~ However, when I need to create a new user account for the new staff. I need to run this command each time after account created. How unnecessary? Set-CASMailbox "newuser" -MAPIBlockOutlookRpcHttp:$False I think it is unnecessary task for an enterprise and it will make operation staff easy to forget this step, so, can anyone provide a better solution for me? Can I set it default to "True" when each time I created the account? Hong Kong guy
July 9th, 2009 10:11am
That's set to false by default when new user is created. I guess there is not any solution for this unless you use a user in TemplateInstance parameter which hasMAPIBlockOutlookRpcHttp set to True while creatinguser using New-Mailbox. Something like using below cmdlet where Peter has that parameter set to True...
$password = Read-Host "Enter password" -AsSecureString
New-mailbox -UserPrincipalName chris@contoso.com -alias chris -database "Storage Group 1\Mailbox Database 1" -Name ChrisAshton -OrganizationalUnit Users -password $password -FirstName Chris -LastName Ashton -DisplayName "Chris Ashton" -ResetPasswordOnNextLogon $true -TemplateInstance (Get-Mailbox Peter)
Another workaround would be discussed in below thread, where POP, IMAP etc are enabled by default and want it to disable for some user automatically...
http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/ff1347a4-c986-433f-ba4e-fe609ca69c3a
Amit Tank | MVP Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
July 9th, 2009 7:09pm
Thanks anyway i think it is a only solution for this moment. I hope the next version can improve a lot. ThanksHong Kong guy
July 13th, 2009 12:38pm