New methods, reportedly considerably better, have not tested yet myself:
Category: Office 365
New Exchange Online connectivity for Powershell
article #1357, updated 33 days ago
Turn Off Azure AD Sync via Powershell
article #1334, updated 174 days ago
- Connect to Azure AD, and disable sync:
Set-MsolDirSyncEnabled –EnableDirSync $false
- Check status, repeatedly, until it returns False. It can take 72 hours for sync to be fully deactivated.
IPs, URLs, and Ports for Microsoft Cloud Services and Office 365 (Firewall Configuration)
article #800, updated 180 days ago
This includes Exchange Online, Lync, and others:
This has been updated recently, and many changes have occurred. Ports have been reduced considerably, and many more FQDNs added.
Connect PowerShell to Exchange Online / Office 365 / Azure
article #804, updated 182 days ago
The following method is appearing to work always, at least it has not yet failed in many attempts on many platforms:
$UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session -DisableNameChecking
When you’re done, be sure to do the following afterwards, or you may have to wait for automatic session expiration.
There is a newer method, below, which recently we have sometimes seen fail. Visually it appears to use newer APIs. Requires Powershell 5.1:
Set-ExecutionPolicy RemoteSigned -Force Install-Module -Name AzureAD Install-Module MSOnline Import-Module AzureAD Connect-MsolService
Manually correct Office 365 logins in AD Sync'd domains
article #1332, updated 185 days ago
It can happen fairly easily, that one or more user’s Office 365 login is wrong, and AD Sync fails to correct it. Here is a manual override, courtesy of the excellent Joe Busby.
- On a domain controller, verify the AD username and proxy addresses is set correctly.
- Connect to O365 Powershell on any machine with Powershell 5.1, and run this command:
Set-MsolUserPrincipalName -UserPrincipalName "email@example.com" -NewUserPrincipalName "firstname.lastname@example.org"
- On the user’s PC:
- Navigate to Settings > Accounts > Access work or school
- Disconnect from any accounts linked to the new or old username
- Hit the [ + ] Connect button and provide the credentials to sign in to Office 365
- If their password has been changed since their account was synced up with the wrong username, the password may need to be reset.
- Remove any credentials from windows credential manager that match the old username.
- Check Outlook, you may have to create a new profile.
Fix Office, Outlook, 365 issues with Microsoft Support and Recovery Assistant (SaRA)
article #1316, updated 230 days ago
Improve speed and prevent timeouts downloading PSTs from Office 365
article #1311, updated 257 days ago
If you let the eDiscovery Export Tool time out, it will eventually give you a link:
which has the registry edit below. No explanation is given, but it does say that adjustment of the number (in some direction?) can help.
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Client\eDiscovery\ExportTool] "DownloadConcurrency"="24"
Office 365 and Exchange Online Product and License Lists
article #1195, updated 321 days ago
There are many different products / licenses for Office 365, in several categories. The first item has links to the rest:
The above suggested by the excellent Tharin Brown.
When Office 365 will not activate
article #1277, updated 381 days ago
There is an alternative activation logon screen.
Remove Office activation from Windows, Office license reset
article #1241, updated 381 days ago
From the indefatigable Mike Crayton:
This can help a lot when Office will not activate.