O365 number in “Failed” status / AssignmentFailed

Obtaining numbers in Office365 is pretty straight-forward. Just go to the Skype for Business Admin Portal, navigate to Voice -> Phone Numbers and click on the big plus sign:

Now, aside the licensing pre-requisites I was talking about here, you will also have to have setup Emergency Locations.

I am not going to go through what are Emergency Locations since are very well explain at docs.microsoft, however, note that:

  • In the US, an Emergency Location is required when assigning a phone number to a user.
  • In EMEA, an Emergency Location is required when acquiring the phone number from the portal or porting the number to Microsoft.

Also, I would like to emphasize on the Emergency Calling Terms and Conditions and to be more specific, Admins should communicate to all users with Calling Plans in Office 365 that although Calling Plans can be used anywhere in the world where an Internet connection is available, users should not make an Emergency Services call from a location outside their home country/region because the call likely will not be routed to the appropriate call center in that country/region.

Moving forward with acquiring phone numbers, it is very important to understand that in order to successfully activate a phone number in Office365, the address setup in the Emergency Location which you will use to acquire the number, must match the phone number’s area code.

For example, I can successfully create an Emergency Location for Barcelona and then use it to acquire a Madrid phone number, however, after the number being stuck in “Provisioning” state for a while, it will then fail to activate, changing its status to “Failed”:

 

Doing a quick lookup in powershell for phone numbers which are not in Active state, will lead us straight to our broken phone number:

Now if indeed you have a wrong Emergency Address set on this number and you would like to change it, please note that:

  • You can use the “Change” button for the Emergency address
  • You must also grant this number to a user, otherwise it will not allow you to Save your settings
  • Once you Activate your number with an Emergency Location, you can no longer change it by yourself. If indeed you have activated a number with a specific Emergency Location and you need to change it, then you must get in contact with ptneu[at]Microsoft.com

Doing another query in PowerShell, i can now see the number changed its ActivationState from Assignment Failed, to Assignment Pending, and moreover, it is also displaying my tenantID along with the ObjectID of the user to whom i’ve assigned it:

Fast forward through the night and querying the number again, I can see it both in the portal and PowerShell that now is activated:

 

Sabin.

Leave a Reply

Your email address will not be published. Required fields are marked *