Office 365 – Get list of all accounts and aliases via PowerShell

Problem: You need a list of all users and aliases Solution: Get-Mailbox | Select-Object DisplayName,@{Name=“EmailAddresses”;Expression={$_.EmailAddresses |W here-Object {$_ -LIKE “SMTP:*”}}} | Sort | Format-List Or ‘ Get-Mailbox | Select-Object DisplayName,@{Name=“EmailAddresses”;Expression={$_.EmailAddresses |Where-Object {$_ -LIKE “SMTP:*”}}} | Sort | Export-Csv <file path Continue reading Office 365 – Get list of all accounts and aliases via PowerShell

Office 365 – Connecting to PowerShell with MFA

Problem: You enable MFA in your organization and now you can’t connect through PowerShell Solution: (h/t me) Referencing the following doc (https://docs.microsoft.com/en-us/powershell/exchange/exchange-online/connect-to-exchange-online-powershell/mfa-connect-to-exchange-online-powershell?view=exchange-ps) Notes: Use Internet Explorer when you download and run the app Once you download and install the app, Continue reading Office 365 – Connecting to PowerShell with MFA

Office 365 – Online Archive running out of space

Problem: User getting message that their online archive is running out of space Solution: Microsoft changed up how this is dealt with. Originally, you had to call in, now you can enable it to run automatically. https://docs.microsoft.com/en-us/office365/securitycompliance/enable-unlimited-archiving