Impossible set lineruri on meetingroom using set-csmeetingroom

Aurélie EHANNO 96 Reputation points
2021-01-27T15:21:10.207+00:00

Hello,

When I laucnh this command : Set-CsMeetingRoom -Identity '5bd85563-dbf0-4645-b8b7-c276658f909f' -LineUri "tel:+13329xxxxxx" ;

I have this answer :

Désolé... Nous ne pouvons pas définir « LineURI ». Ce paramètre est limité au sein du client PowerShell distant.
    + CategoryInfo          : InvalidArgument : (:) [Set-CsMeetingRoom], ManagementException
    + FullyQualifiedErrorId : LineURI,Microsoft.Rtc.Management.AD.Cmdlets.SetOcsMeetingRoomCmdlet
    + PSComputerName        : api.interfaces.records.teams.microsoft.com

I try to use Set-CsOnlineVoiceUser and Set-CsUser but it's always the same response.

How can I successfully change the lineuri parameter? If it's possible.

Thank you.

Skype for Business
Skype for Business
A Microsoft communications service that provides communications capabilities across presence, instant messaging, audio/video calling, and an online meeting experience that includes audio, video, and web conferencing.
602 questions
0 comments No comments
{count} votes

Accepted answer
  1. Aurélie EHANNO 96 Reputation points
    2021-02-25T10:42:53.927+00:00

    Sorry, I didn't have time to test your ideas before.

    So the solution it was to add the licence Domestic Calling Plan (120 min).
    And use this command
    Set-CsOnlineVoiceUser -Identity $ObjectId -TelephoneNumber $LineURI
    to affect a line uri to the meeting room


1 additional answer

Sort by: Most helpful
  1. Sharon Zhao-MSFT 25,051 Reputation points Microsoft Vendor
    2021-01-28T05:21:49.537+00:00

    @Aurélie EHANNO ,

    I have covered your telephone number for the security of personal information. Thanks for your understanding.

    What is your environment? On-premises, online or hybrid?

    Do you enable the room account for use with Skype for Business?

    Try to run Enable-CsMeetingRoom cmdlet to enable it.

    If your environment is not purely on-premises, it needs to change the settings on-premises. Then, it will be sync to online.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.