ntroduction
In an Office 365 / Exchange Administrator's Day to day activities, you might at times be required to manage Users' Mailbox. This can be for various purposes. To list a couple of them is to create tasks directly in some user's mailbox or to create a folder with a specific names. In this blog, we will go through the below-listed steps for managing a user's mailbox without logging into.
- Install Microsoft EWS Package
- Impersonation
- Create New Folders
- Create New Tasks
Install Microsoft EWS Package
The first important step is to make sure you have the Microsoft EWS Module 2.2 and here is the link for download. ( NuGet Gallery | Microsoft.Exchange.WebServices 2.2.0 ) I am going to show you how you can install the module quickly and easily with PowerShell 7.
Please see the screenshot below for a quick and easy download and installation of the module.
Impersonation
Please read the article to begin with it. Configure impersonation | Microsoft Docs, you can give the impersonation role to a service account or to a super administrator. This is always helpful to keep it limited only.
Start with connecting to Exchange Online then check if you have the role assigned or not and then make the required changes. You can check the Role ApplicationImpersonation added to it.
if you already have the role assigned good or else you can modify it to include this particular tole to the Admin role, considering you have the required rights or you have to request for it.
Follow our page for more tech-related blogs - KB Tech World (kumarbipul.com)