Browsed by
Category: Exchange Online

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

Connect to Exchange Online PowerShell 

Connect to Exchange Online PowerShell 

Exchange Online PowerShell helps administrators to manage their Exchange Online Environment more effectively. EXO V2 module allows admins to create remote PowerShell sessions by using both  Modern authentication  Multi-factor authentication  Let’s see how to install and connect Exchange Online PowerShell using the EXO V2 module.  Install Exchange Online PowerShell Module:  To install EXO V2 module, follow the below steps.  Step 1: Start Windows PowerShell with the “Run as administrator” option.   Step 2: Run the below cmdlet to install the Exchange Online PowerShell V2 Module (ExchangeOnlineManagement)   Install-Module –Name ExchangeOnlineManagement  Note: To identify the installed EXO V2 module’s…

Read More Read More

Opt-in to the Exchange Online Endpoint for Legacy TLS Clients using SMTP Auth 

Opt-in to the Exchange Online Endpoint for Legacy TLS Clients using SMTP Auth 

We all know that Exchange online ended support for TLS 1.0 and TLS 1.1 in 2020 to meet the security and compliance requirements. However, Microsoft still allows clients to use legacy TLS versions to connect with Exchange Online.  In 2022, Microsoft has planned to completely disable older TLS versions in Exchange Online to improve security. If your organization still uses clients that aren’t compatible with TLS 1.2, then the new opt-in endpoint can be set to use the previous versions…

Read More Read More