To export the list of users and emails addresses from Office 365 along with the first and last name of the users: Start PowerShell Run the following commands $LiveCred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange – ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred – Authentication Basic -AllowRedirection Import-PSSession $Session 3. To export Get-Mailbox -ResultSize Unlimited |Select-Object DisplayName,PrimarySmtpAddress, @{Name=”EmailAddresses”;Expression={$_.EmailAddresses |Where-Object {$_.PrefixString […]
How to Start a Manual Active Directory Sync to Office 365
By Default, Active directory synchronization happens every 30 minutes and it runs on the Server you Installed Azure AD on. Log In to the Server you’ve Installed Azure AD Sync and open PowerShell. In the PowerShell windows type the cmdlet below: Start-ADSyncSyncCycle -PolicyType Delta