Category Archives: Office 365

Move-CSUser returns “Index was outside the bounds of the array”

This is a simple but confusing one my clients have had various issues with, so I thought I’d write something up quickly.  You’re moving Lync or Skype for Business Server users to Skype for Business Online in Office 365.  During the move operation you receive an error similar to the following:

Move-CsUser : Index was outside the bounds of the array.
At line:1 char:1
+ Move-CsUser -Identity "John User" -Target sipfed.online.lync.com
-Credential $ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidOperation: (CN=John User,...=contoso,DC
   =com:OCSADUser) [Move-CsUser], IndexOutOfRangeException
    + FullyQualifiedErrorId : MoveError,Microsoft.Rtc.Management.AD.Cmdlets.Mo
   veOcsUserCmdlet

Not the most helpful error and definitely confusing.  Nine times out of ten, this error is simply telling you that either A) You don’t have the permissions you think you do or B) The user isn’t licensed for what you’re trying to accomplish in the cloud (likely the case if it’s only affecting a single user or a few).

Checking B is easy, login to your O365 portal and ensure that the user has the correct licensing.  Don’t just assume because E1, E3, or E5 is on, that Skype is individually checked.  Double check when the user fails to move.

Checking A is a little more difficult.  You need to ensure that the account(s) you’re using have full access to move the user both on-premises, and into Skype Online.  When in doubt, use a CSAdministrator on-premises and Global Administrator account in Office 365 to test if this is the issue.  Please not that you don’t need the above maximum rights to move users, but it will help you eliminate variables to identify the source of the issue and help you move forward.

It’s also been noted (thanks Mark Vale) that when DirSync or Azure AD Connect is installed prior to Skype or Lync, the attributes may not be properly syncing to/from the tenant as they’re not automatically added with a later Skype installation.  Perhaps you’re using a third party IDM and missed these attributes entirely.  You will need to reconfig AAD Connect or your sync tool of choice to get these added in properly.

Beyond that, we’ve even seen issues with an incorrectly provisioned SQL rights pop up, and a few other oddities, but hopefully this moves you along on your path to the cloud.

 

Can’t Find Skype Online Cloud PBX?

Recently, a lot of our clients and people out on the Internet are dipping their toes in the water of Skype for Business Online Cloud PBX.  This is included with E5, but if you don’t need the full E5 suite, you can add it as an add-on to the E3 licensing level in Office 365.  But what if it’s not there?  Or perhaps you have E5 but PSTN Calling isn’t there (assuming your tenant is in a country it’s currently sold).  You might ask, “How do I find Cloud PBX?” when it’s not an option in the add subscriptions portion of your tenant?

Typically you would navigate to Billing->Subscriptions->Add subscriptions or just click the Purchase Services link in the left pane.

.Subscribe

However, once there Cloud PBX, PSTN Calling, and PSTN Conferencing do not exist as options.   We had this same issue and after a call with Microsoft, we’ve learned that the portal website isn’t “fully updated” and it doesn’t recognize E3 licenses purchased through volume licensing, enterprise agreements (EA), or internal user licenses.  The trick to get these options to appear at the time of this blog writing is to purchase a single annual E3 license through the portal, and call Microsoft to refund it.  This should be a short term workaround, so I would ask you to call Microsoft before you begin this procedure.

Once you’ve added this single E3 (or E5 or whatever you have chosen), the flag should be set in the portal and you should now see the options to continue.

OptionAppears

Now that we see it, we can add it and select PSTN Calling on the way.

Checkout

All that’s left is to assign the licenses to your users and dive into Cloud PBX!