Issue: When an external user is sending an email to a distribution group which consists of both internal and external users. Emails to internal users get delivered but fails to be delivered to external members of the group. Sometimes the sender doesn't even get NDR as they might not have been enabled. You can always... Continue Reading →
Script To Get A List Of All Mailboxes Along with All its Email Aliases
Connect to Exchange Online $UserCredential = Get-Credential$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://outlook.office365.com/powershell-liveid/ -Authentication Basic -AllowRedirection:$true -Credential $UserCredentialImport-PSSession $Session -DisableNameChecking:$true -AllowClobber:$true | Out-Null Get all Exchange Online users $AllUsers = Get-Mailbox -ResultSize Unlimited Iterate through each user and retrieve email address aliases foreach ($User in $AllUsers) {$UserPrincipalName = $User.UserPrincipalName$PrimarySMTP = $User.PrimarySmtpAddress$EmailAliases = $User.EmailAddresses # Output... Continue Reading →
Script to list The Members of Nested Distribution Groups
Connect to Exchange Online PowerShell $UserCredential = Get-Credential$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirectionImport-PSSession $Session Get list of all distribution groups $groups = Get-DistributionGroup -ResultSize unlimited Loop through each group and get its members foreach ($group in $groups) {Write-Host "Group: $($group.Name)"$members = Get-DistributionGroupMember -Identity $group.Name -ResultSize unlimitedforeach ($member in $members)... Continue Reading →
This User’s On-premises Mailbox Hasn’t Been Migrated To Exchange Online In Microsoft Office 365 – New Office 365 Tenant
Issue We get the following message after assigning the license to a synchronized user in new Office 365 Tenant and it gets stuck there. This can happen when migrating from on-premise Exchange to newly created Office 365 and we use AD Connect to sync AD accounts to office 365. This can happen due to some... Continue Reading →