How to list all user’s group membership in 365

Just use this as it accounts for 365 Groups now as well : https://o365reports.com/2019/05/23/export-office-365-distribution-group-members-csv/ ******Get Distinguished Name:get-Mailbox [Username] | fl Name,DistinguishednameGroups:get-group -ResultSize Unlimited -Filter ‘Members -eq “[User Distinguished […]

Office 365 Spam Avoidance

You can forward these emails to : [email protected] or use the Outlook plugin to report and hopefully Microsoft should block these in future : https://www.microsoft.com/en-us/download/details.aspx?id=18275 Microsoft have actually now got […]

365 Useful Commands for Powershell Administration

Add Permissions $LiveCred = Get-Credential$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic –AllowRedirectionImport-PSSession $Session//Add to OutlookUserA to BAdd-MailboxPermission -identity [email protected] -user [email protected] -AccessRights FullAccess //Don’t add to OutlookAdd-MailboxPermission […]