Category: Office 365

Connect PowerShell to Exchange Online / Office 365 / Azure
article #804, updated 19 days ago

First, as with many things in Powershell, we make sure we can run lots of things:

Set-ExecutionPolicy RemoteSigned -Force

The method below appears best as of this writing for Server 2016 and Windows 10. It uses the Office 365 GUI box rather than the archaic. The first two steps probably have to be done just once per machine, until Microsoft updates the modules.

Install-Module -Name AzureAD
Install-Module MSOnline
Import-Module AzureAD
Connect-MsolService

And the second method, below, will work with 2012/8, as well as 10/2016. It does appear to use at least some older APIs.

$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 with the second method, be sure to do the following afterwards, or you may have to wait for automatic session expiration. This does not apply to the first method:

Remove-PSSession $Session

Categories:      

==============

Office 365 and Exchange Online Product and License Lists
article #1195, updated 35 days ago

There are many different products / licenses for Office 365, in several categories. The first item has links to the rest:

Business, general

Small business

Education

Government

Nonprofits

Home

Firstline Workers

The above suggested by the excellent Tharin Brown.

Categories:      

==============

When Office 365 will not activate
article #1277, updated 95 days ago

There is an alternative activation logon screen.

https://answers.microsoft.com/en-us/msoffice/forum/msoffice_account-mso_win10/unable-to-sign-in-to-office-2016-desktop-apps-sign/b32738c8-1b17-43d1-839b-cb97c8ae3c29

Categories:      

==============

Remove Office activation from Windows, Office license reset
article #1241, updated 95 days ago

From the indefatigable Mike Crayton:

https://www.thecloudjournal.net/2016/08/reset-microsoft-office-product-activation-status/

https://gallery.technet.microsoft.com/office/How-To-Reset-Office-01cf9c07

This can help a lot when Office will not activate.

Categories:      

==============

New version of Azure AD Sync
article #1249, updated 224 days ago

New version, as of 2018-10-29:

www.microsoft.com/en-us/download/details.aspx?id=47594

Categories:      

==============

Azure AD Sync: password sync fails but directory sync working
article #1243, updated 253 days ago

When this happens, do the following in Azure AD Connect:

  1. In “Customize synchronization options”, disable (uncheck) the password hash sync option.
  2. Wait for sync to complete, watching in the Operations tab of the Synchronization Service Manager.
  3. In “Customize synchronization options”, enable (check) the password hash sync option.
  4. Wait for sync to complete, watching in the Operations tab of the Synchronization Service Manager.
  5. Check the Office 365 admin readout.

Categories:      

==============

"AdxTaskPane" window comes up with Outlook
article #1237, updated 285 days ago

When recent versions of Outlook and other Office applications run certain plugins, sometimes the result will come up in a separate window called “AdxTaskPane”. To prevent this:

  1. File > Options > General > User Interface options
  2. Choose “Optimize for compatibility (application restart required)”
  3. Restart the application

Categories:      

==============

Office 365 / Exchange Online Mailbox Migration Stall
article #1232, updated 291 days ago

When you do an Office 365 / EOL migration with Azure AD Sync in place, mailboxes may freeze up, where in the O365 console under “Mail Settings” for one or more mailboxes, it says “This user’s on-premises mailbox has not been migrated to Exchange Online. The Exchange Online mailbox will be available once migration is completed.” One may spend a whole lot of time, even with Microsoft on the line, not fixing this problem.

There may be more than one cause. But a very important cause and fix is outlined here:

https://mikeparker365.wordpress.com/2016/01/07/how-to-filter-out-msexchmailboxguid-from-aad-connect-sync/

The gist of it is, one of the user attributes synched up from the on-prem server is “msExchMailboxGuid”, and this is trouble, because if this is synched up, EOL thinks it is trying to make a duplicate of an existing mailbox, rather than a new one, and it will not make a duplicate, it is in fact waiting for this attribute to be deleted before proceeding.

So what we do, is we go to Synchronization Service, right-click on “Active Directory Domain Services”, make sure “Connector Designer” is selected, and then scroll down to msExchMailboxGuid , and uncheck it. Then click OK.

The next step is to kick off a sync. The easiest way is in Powershell on the server which has AD Sync installed:

Import-Module ADSync
Start-ADSyncSyncCycle -PolicyType Initial

You can watch the progress in “Synchronization Service” if you like; after the two final exports are complete it is done. But we’re not done yet.

The next step, is to remove the licenses from all of the O365 accounts which are marked as not yet migrated.

Then run another sync.

Then add the licenses back.

And run another sync.

That did it this morning!

Categories:      

==============

Run Azure AD Sync by Powershell
article #1231, updated 291 days ago

These two will do it in the current version as of this writing:

Import-Module ADSync
Start-ADSyncSyncCycle -PolicyType Initial 

The above is a full sync, necessary in a minority of circumstances. A delta sync is as follows:

Import-Module ADSync
Start-ADSyncSyncCycle -PolicyType Delta

Categories:      

==============

Give Exchange Online users ability to manage distribution lists
article #1118, updated 601 days ago

From the profound Mike Crayton. We do this:

  1. Create an admin role group named “Manage Distribution Groups”, with the admin role of “Distribution Groups”, setting as members the user(s) to be given this ability
  2. Give them this URL for getting to the management console:
    https://outlook.office.com/ecp/

Categories: