Use set-csmeetingroom for assigning lineuri error

Occasional Contributor

Trying to script the creation or migration of meeting rooms to Teams.  This would include assigning Lineuri for each room.

I can assign them in the GUI just fine.

(below is example with real data removed)

Set-CsMeetingRoom -Identity -lineuri tel:+12225551234 -locationID XXXXXXXX
Unable to set "LineURI". This parameter is restricted within Remote Tenant PowerShell.
+ CategoryInfo : InvalidArgument: (:) [Set-CsMeetingRoom], ManagementException
+ FullyQualifiedErrorId : LineURI,Microsoft.Rtc.Management.AD.Cmdlets.SetOcsMeetingRoomCmdlet
+ PSComputerName :


running the set-csuser with the room identity gives the same error.

0 Replies