Usually, we got to add manually for Shared Mailbox to each permission granted user's outlook client.
This is a bit OK for few users. But it will be problem if you have to add manually for many users.
So, I'd like to show you how to setup automap feature by using powershell command when you granting permission for each user to shared mailbox.
For this kind of task, I'll use below powershell syntax,
1) To create shared mailbox and generic e-mail address
New-Mailbox -Name "Shared Mailbox Name" -Alias "Shared Mailbox Alias Name" –Shared -PrimarySmtpAddress "External Contact Shared Mailbox e-mail address"
2) To Assign User to get Full and Send As permission with Automap Feature
Add-MailboxPermission "Shared Mailbox Name or Shared Mailbox e-mail address" -User "User Display Name or User e-mail address" -AccessRights FullAccess -InheritanceType all
Add-RecipientPermission "Shared Mailbox Name or Shared Mailbox e-mail address" -Trustee "User Display Name or User e-mail address" -AccessRights SendAs
For example, I want to shared mailbox of sales@ictformyanmar.com to salestaff1, salestaff2 and salestaff3 with Full Access, Send As Pemisssion and Automap it in their outlook client.
Just copy and paste below commands in Powershell Windows.
New-Mailbox -Name "Sales" -Alias SNM –Shared -PrimarySmtpAddress sales@ictformyanmar.com
Add-MailboxPermission "Sales" -User "Sale Staff 1" -AccessRights FullAccess -InheritanceType all
Add-MailboxPermission "Sales" -User "Sale Staff 2" -AccessRights FullAccess -InheritanceType all
Add-MailboxPermission "Sales" -User "Sale Staff 3" -AccessRights FullAccess -InheritanceType all
Add-RecipientPermission "Sales" -Trustee "Sale Staff 1" -AccessRights SendAs
Add-RecipientPermission "Sales" -Trustee "Sale Staff 2" -AccessRights SendAs
Add-RecipientPermission "Sales" -Trustee "Sale Staff 3" -AccessRights SendAs
Take note the highlighted area to modify for your requirement.
InheritanceType all is major point of Automap Feature.
Ok. I hope you guys will able to setup for automap now.
May you all be happy.
(Be knowledgeable, pass it on then)
This is a bit OK for few users. But it will be problem if you have to add manually for many users.
So, I'd like to show you how to setup automap feature by using powershell command when you granting permission for each user to shared mailbox.
For this kind of task, I'll use below powershell syntax,
1) To create shared mailbox and generic e-mail address
New-Mailbox -Name "Shared Mailbox Name" -Alias "Shared Mailbox Alias Name" –Shared -PrimarySmtpAddress "External Contact Shared Mailbox e-mail address"
2) To Assign User to get Full and Send As permission with Automap Feature
Add-MailboxPermission "Shared Mailbox Name or Shared Mailbox e-mail address" -User "User Display Name or User e-mail address" -AccessRights FullAccess -InheritanceType all
Add-RecipientPermission "Shared Mailbox Name or Shared Mailbox e-mail address" -Trustee "User Display Name or User e-mail address" -AccessRights SendAs
For example, I want to shared mailbox of sales@ictformyanmar.com to salestaff1, salestaff2 and salestaff3 with Full Access, Send As Pemisssion and Automap it in their outlook client.
Just copy and paste below commands in Powershell Windows.
New-Mailbox -Name "Sales" -Alias SNM –Shared -PrimarySmtpAddress sales@ictformyanmar.com
Add-MailboxPermission "Sales" -User "Sale Staff 1" -AccessRights FullAccess -InheritanceType all
Add-MailboxPermission "Sales" -User "Sale Staff 2" -AccessRights FullAccess -InheritanceType all
Add-MailboxPermission "Sales" -User "Sale Staff 3" -AccessRights FullAccess -InheritanceType all
Add-RecipientPermission "Sales" -Trustee "Sale Staff 1" -AccessRights SendAs
Add-RecipientPermission "Sales" -Trustee "Sale Staff 2" -AccessRights SendAs
Add-RecipientPermission "Sales" -Trustee "Sale Staff 3" -AccessRights SendAs
Take note the highlighted area to modify for your requirement.
InheritanceType all is major point of Automap Feature.
Ok. I hope you guys will able to setup for automap now.
May you all be happy.
(Be knowledgeable, pass it on then)
Comments
Post a Comment