Browsed by
Month: February 2022

Get All Office 365 Email Address and Alias Using PowerShell 

Get All Office 365 Email Address and Alias Using PowerShell 

Often, Microsoft 365 admins want to export all email addresses in their Microsoft 365 environment. You can use the PowerShell cmdlets like Get-Mailbox, Get-Recipient to retrieve Primary email addresses and aliases. Since each type of mailbox requires different cmdlets or filtering conditions, it is always challenging to find the right one.   Since Microsoft allows sending emails from alias addresses, admins need a record of alias addresses. To easily export all the email addresses, you can download our script. Also, our script…

Read More Read More

Set-up Manager for Office 365 Users Based on the User’s Property

Set-up Manager for Office 365 Users Based on the User’s Property

User account management in Office 365 is the most important in ensuring your organization’s security. Every organization should possess a hierarchy for employees to work efficiently. And in Office 365, “Managers” keep track of their Office 365 users and make them access certain services like SharePoint, OneDrive, etc. So, it is quite crucial to set up the manager for Office 365 users. How to Set up an Office 365 Manager? Assigning a manager to a user can be done in…

Read More Read More

How to Add Bulk Users to Distribution Group in Office 365 via PowerShell 

How to Add Bulk Users to Distribution Group in Office 365 via PowerShell 

This blog helps admins add multiple members to the distribution group using PowerShell. The script accepts bulk users through import CSV and adds those users to the distribution list.    Note: This script uses the PowerShell cmdlet Add-DistributionGroupMember. Before running the script, you must install the Exchange Online Management module.  Connect-ExchangeOnline Import-CSV <FilePath> | foreach { $UPN=$_.UPN Write-Progress -Activity “Adding $UPN to group… ” Add-DistributionGroupMember –Identity <GroupUPN> -Member $UPN If($?) { Write-Host $UPN Successfully added -ForegroundColor Green } Else { Write-Host $UPN – Error occurred –ForegroundColor…

Read More Read More

Grant Delegate Permissions to Other Microsoft 365 Mailboxes using PowerShell 

Grant Delegate Permissions to Other Microsoft 365 Mailboxes using PowerShell 

Microsoft 365 allows some users to access other mailbox through delegation. Admins can delegate the permissions to another mailbox based on the organization’s requirements,    Full access – Allows modifying content and reading email from another mailbox   Send as –Allows sending emails from another mailbox   Send-on behalf – Allows sending emails on behalf of another mailbox      How to Set Mailbox Permission?   Mailbox permission can be set either through Admin Center or PowerShell. Since UI is suitable for…

Read More Read More