CloudPBX: Filter failed to return unique result SIPADDRESS, LINEURI

Sometimes, when i’m activating a new user for Office 365 Skype for Business Online Cloud PBX (that’s a mouthful!), I run into the following error in Powershell:

Filter failed to return unique result

So, what’s going on?

Well, the phone number (lineuri) that we’re trying to assign to our user is already in use and assigned to another one of our users.

To find out who has it assigned, we can run the following:

Get-CsOnlineUser | where onpremlineuri -like “tel:61281234567;ext=4567” | select sipaddress, displayname, *line*

Powershell will output the details of the user who currently has the phone number assigned.

How do we fix it?

Phone numbers must be unique within CloudPBX, meaning that no two users can have the same phone number assigned to them.

To remove an assigned phone number from a user, run the following command:

Set-CSUser username@contoso.com -onpremlineuri $null

Once you have removed it, you can then re run your original command to assign the phone number to your new user.

0 0 votes
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments