Skip to main content

How to setup automap feature in Shared Mailbox for group of user in Office 365?

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)

Comments

Popular posts from this blog

Fortigate guide for Begineer - 6

I would like to explaine how to troubleshoot the Fortigate Unit configured by Transparent Mode in step by step this time. Let's assume, you have one Fortigate Unit that configured as Transparent Mode. But devices from Internal/Private Network unable to access Internet/Public Network through your Fortigate Unit. OK. Let's troubleshoot with following steps, 1) Check the physical network connections between the network and the FortiGate unit, and between the FortiGate unit and the Internet. 2) Check the router and ISP-supplied equipment to make sure it is operating correctly. 3) Verify that you can connect to the internal interface by connecting to the management IP address of the FortiGate unit from the Internal network. From the internal network, attempt to ping the management IP address. If you cannot connect to the internal interface, verify the IP configuration of the PC and make sure the cables are connected and all switches and other devices on the network are powered on a

Why do we need network virtualization?

We need to think about Server Virtualization first if we want to talk about Network Virtualization. In the era of cloud computing, servers are virtualized and used in Data Centers. We are facing a lot of problem when we virtualized our Servers, 1) Routing and Switching Problem Routing become the issue when we create Virtual Switch and VLANs according to production requirement. Network Team might need some time to change on their end to meet with Server Virtualization Team changes on their end. ၂) Firewall Services Physical Firewall are difficult to manage due to the large number of rules needed to satisfy business requirements. New applications, new projects, and new networks all come with potential security requirements, which impact centralized firewall management. ၃) Load Balancing Let's say your company deploys a new physical load balancer for each tenant, resulting in increased capital expenditures. Once a tenant reaches their maximum capacity, it ca

Solving "WSUS administration console was unable to connect to the WSUS Server via the remote API" error

Today, I've got below when I try to connect my WSUS Server via WSUS Console. Below logs are display in Event Logs too. The WSUS administration console was unable to connect to the WSUS Server via the remote API.  Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service. The WSUS administration console was unable to connect to the WSUS Server via the remote API. Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service. System.Net.Sockets.SocketException -- No connection could be made because the target machine actively refused it 172.16.99.98:80 Source System Stack Trace:    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)    at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, S