SOLVED

Bulk Change Conference Toll Number?

%3CLINGO-SUB%20id%3D%22lingo-sub-141926%22%20slang%3D%22en-US%22%3EBulk%20Change%20Conference%20Toll%20Number%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-141926%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20you%20use%20powershell%20to%20change%20existing%20users'%20default%20conference%20bridge%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ewe%20have%20several%20hundred%20users%20who%20were%20assigned%20a%20toll%20number%20for%20415%20area%20code%20and%20we%20want%20to%20change%20all%20existing%20users%20default%20toll%20number%20to%20be%20something%20closer.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20appears%20you%20can%20do%20the%20bulk%20change%20in%20the%20graphical%20interface...%20trying%20to%20speed%20it%20up%20by%20using%20powershell.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%20far%20have%20been%20unsuccessful%20using%20set-csuseracp.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGet-CsUserAcp%20joe%20%7C%20set-csuseracp%20-TollNumber%2014692700098%20-ParticipantPasscode%200%20-Name%20Microsoft%20-Domain%3CBR%20%2F%3Eresources.lync.com%20-Url%20%3CA%20href%3D%22https%3A%2F%2Fdialin.lync.com%2F577d82e2-5d35-43bb-a570-9ac75c112423%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdialin.lync.com%2F577d82e2-5d35-43bb-a570-9ac75c112423%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20failed%20to%20change%20the%20existing%20toll%20number%2C%20in%20fact%2C%20it%20added%20it%20to%20the%20existing%20one.%20Take%20a%20look%3A%3C%2FP%3E%0A%3CP%3EBefore%20Change%3A%3C%2FP%3E%0A%3CP%3EAcpInfo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20%7B%3CACPINFORMATION%20default%3D%22%26quot%3Btrue%26quot%3B%22%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CTOLLNUMBER%3E12135146314%3C%2FTOLLNUMBER%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CTOLLFREENUMBER%3E18553367707%3C%2FTOLLFREENUMBER%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CPARTICIPANTPASSCODE%3E0%3C%2FPARTICIPANTPASSCODE%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CDOMAIN%3Eresources.lync.com%3C%2FDOMAIN%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNAME%3EMicrosoft%3C%2FNAME%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CURL%3E%3CA%20href%3D%22https%3A%2F%2Fdialin.lync.com%2F577d82e2-5d35-43bb-a570-9ac75c112423%26lt%3B%2Furl%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdialin.lync.com%2F577d82e2-5d35-43bb-a570-9ac75c112423%3C%2FA%3E%3C%2FURL%3E%26gt%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FACPINFORMATION%3E%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20Change%3A%3C%2FP%3E%0A%3CP%3EAcpInfo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20%7B%3CACPINFORMATION%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CTOLLNUMBER%3E14692700098%3C%2FTOLLNUMBER%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CPARTICIPANTPASSCODE%3E0%3C%2FPARTICIPANTPASSCODE%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CDOMAIN%3Eresources.lync.com%3C%2FDOMAIN%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNAME%3EMicrosoft%3C%2FNAME%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CURL%3E%3CA%20href%3D%22https%3A%2F%2Fdialin.lync.com%2F577d82e2-5d35-43bb-a570-9ac75c112423%26lt%3B%2Furl%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdialin.lync.com%2F577d82e2-5d35-43bb-a570-9ac75c112423%3C%2FA%3E%3C%2FURL%3E%26gt%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FACPINFORMATION%3E%2C%20%3CACPINFORMATION%20default%3D%22%26quot%3Btrue%26quot%3B%22%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CTOLLNUMBER%3E12135146314%3C%2FTOLLNUMBER%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CTOLLFREENUMBER%3E18553367707%3C%2FTOLLFREENUMBER%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CPARTICIPANTPASSCODE%3E0%3C%2FPARTICIPANTPASSCODE%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CDOMAIN%3Eresources.lync.com%3C%2FDOMAIN%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNAME%3EMicrosoft%3C%2FNAME%3E%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CURL%3E%3CA%20href%3D%22https%3A%2F%2Fdialin.lync.com%2F577d82e2-5d35-43bb-a570-9ac75c112423%26lt%3B%2Furl%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdialin.lync.com%2F577d82e2-5d35-43bb-a570-9ac75c112423%3C%2FA%3E%3C%2FURL%3E%26gt%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FACPINFORMATION%3E%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%20what's%20worse%20is%20I%20can't%20seem%20to%20remove%20the%20extra%20line...%20it%20errors%20out%20when%20trying%20to%20clear%20it%20out.%3C%2FP%3E%0A%3CP%3Eremove-CsUserAcp%20-identity%20joe%20-Name%20Microsoft%20-TollNumber%2014692700098%3CBR%20%2F%3EObject%20reference%20not%20set%20to%20an%20instance%20of%20an%20object.%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2B%20CategoryInfo%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20NotSpecified%3A%20(%3A)%20%5BRemove-CsUserAcp%5D%2C%20NullReferenceException%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2B%20FullyQualifiedErrorId%20%3A%20System.NullReferenceException%2CMicrosoft.Rtc.Management.AD.Cmdlets.RemoveOcsUserAcpCmdlet%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2B%20PSComputerName%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20admin1a.online.lync.com%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-141926%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAudio%20Conferencing%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142485%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Change%20Conference%20Toll%20Number%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142485%22%20slang%3D%22en-US%22%3EThank%20you!%20This%20worked%20perfectly!%3CBR%20%2F%3EI%20also%20noticed%20a%20new%20command%20which%20appears%20to%20be%20in%20preview%2C%20if%20you%20run%20get-CsOnlineDialInConferencingUser%20there%20is%20an%20on%2Foff%20switch%20for%20whether%20a%20user%20can%20use%20the%20Toll%20Free%20numbers%20-%20very%20cool!%20Says%20I%20can't%20use%20it%20because%20I%20am%20not%20in%20the%20preview%20program.%20Can't%20wait%20till%20that%20rolls%20out!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142418%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Change%20Conference%20Toll%20Number%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142418%22%20slang%3D%22en-US%22%3E%3CP%3EAh%20spot%20on%2C%20thanks%20Michael.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%20Joe%2C%20based%20on%20what%20Michael's%20bought%20to%20the%20table%20there%2C%20you%20can%20use%20the%20below%20to%20update%20users%20conferencing%20numbers%20in%20bulk%2C%20where%20XXXXXXXX%20is%20the%20existing%20number%2C%20and%20YYYYYYYY%20is%20the%20number%20you%20want%20to%20replace%20it%20with.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eget-CsOnlineDialInConferencingUser%20%7C%20Where-Object%20%7B%24_.servicenumber%20-eq%20XXXXXXXX%7D%20%7C%20%25%7BSet-CsOnlineDialInConferencingUser%20-identity%20%24_.sipaddress.substring(4)%20-ServiceNumber%20YYYYYYYY%7D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20might%20want%20to%20run%20just%20the%20GET%20part%20of%20the%20command%20on%20its%20own%20first%20to%20ensure%20it%20pulls%20back%20the%20expected%20users%20for%20you.%20I've%20tested%20this%20and%20it%20works%20fine.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142373%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Change%20Conference%20Toll%20Number%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142373%22%20slang%3D%22en-US%22%3E%3CP%3EGood%20Call%20Ben%2C%20this%20worked%20for%20me%3A%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3EGet-CsOnlineDialInConferencingUser%20michael%20%7C%20%25%7BSet-csOnlineDialInConferencingUser%20-identity%20%24_.sipaddress.substring(4)%20-ServiceNumber%201%23%23%23%23%23%23%23%23%23%23%7D%3C%2FPRE%3E%0A%3CP%3EI%20instantly%20received%20the%26nbsp%3B%20%22Your%20Office%20365%20Dial-In%20Conferencing%20information%20has%20changed%22%2C%20and%20immediately%20booking%20a%20Skype%20meeting%20had%20the%20new%20details.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142364%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Change%20Conference%20Toll%20Number%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142364%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Joe%2C%3C%2FP%3E%0A%3CP%3EI%20might%20have%20misinterpreted%20this%2C%20but%20I'm%20not%20sure%20%3CEM%3ESet-CsUserAcp%3C%2FEM%3E%20is%20called%20for%20here%2C%20would%20Set-%3CEM%3ECsOnlineDialInConferencingUser%3C%2FEM%3E%20not%20achieve%20what%20you're%20after%3F%26nbsp%3B%3CEM%3ECsUserAcp%26nbsp%3B%3C%2FEM%3Eis%20for%20the%20configuration%20of%20Audio%20Conferencing%20Providers%2C%20not%20the%20assignment%20numbers%20to%20users.%20All%20you%20need%20is%20for%20the%20new%20number%20to%20existing%20as%20a%20service%20%2F%20conferencing%20number%20in%20your%20tenant%20already.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3EGet-CsOnlineDialInConferencingUser%26nbsp%3B-Identity%20%22ben%40gecko-studio.co.uk%22%26nbsp%3B%3C%2FEM%3Eoutputs%20the%20conferencing%20information%20for%20myself%2C%20and%20I%20can%20see%20the%20service%20number%20which%20is%20my%20currently%20assigned%20default%20conferencing%20number.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%20in%20your%20instance%20the%20following%20would%20update%26nbsp%3B%3CSPAN%3Ejoe%3C%2FSPAN%3E's%20number%20to%2044%3CSPAN%3E14692700098%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3Eset-CsOnlineDialInConferencingUser%20joe%20-ServiceNumber%204414692700098%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3EYou%20might%20also%20choose%20to%20use%20the%26nbsp%3B%3CEM%3E-sendemail%26nbsp%3B%3C%2FEM%3Eparameter%20to%20prevent%20users%20receiving%20another%20welcome%20to%20PSTN%20conferencing%20email%20when%20you%20update%20their%20number.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere's%20the%20kicker%20though%3B%20I've%20tried%20to%20do%20this%20in%20bulk%20and%20hit%20a%20wall%20-%20Ordinarily%20I'd%20use%20something%20similar%20to%20the%20below%20in%20order%20to%20filter%20all%20users%20with%20a%20particular%20conferencing%20number%2C%20and%20then%20replace%20that%20number%20(fictional%20numbers%20used)%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3Eget-CsOnlineDialInConferencingUser%20%7C%20Where-Object%20%7B%24_.servicenumber%20-eq%20442033215256%7D%20%7C%20Set-CsOnlineDialInConferencingUser%20-ServiceNumber%20%22%3CSPAN%3E44%3C%2FSPAN%3E%3CSPAN%3E1752686863%3C%2FSPAN%3E%3CSPAN%3E5%3C%2FSPAN%3E%22%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20my%20head%20this%20should%26nbsp%3Bretrieve%20all%20users%20who%20currently%20have%20conferencing%20numbers%20of%26nbsp%3B%3CSPAN%3E442033215256%20and%20replace%20that%20number%20with%26nbsp%3B4417526868635%2C%20but%20I%20receive%20the%20below%20response%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EWARNING%3A%20The%20user%20cannot%20be%20found%20or%20does%20not%20belong%20to%20the%20specified%20tenant.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI've%20included%20the%20below%20screenshot%20for%20reference%20which%20has%203%20commands.%20First%20one%20proving%20that%20the%20retrieving%20by%20filter%20works%2C%20second%20one%20attempting%20to%20update%20the%20retrieved%20results%20which%20fails%2C%20and%20the%20third%20one%20proving%20that%20it%20work%20fine%20by%20individually%20specifying%20the%20identity.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20only%20had%20a%20short%20time%20to%20look%20at%20this%2C%20but%20yeah%20it'd%20seem%20somethings%20a%20bit%20out%20of%20whack%20with%20bulk%20updates%20to%20conferencing%20number%20assignment.%20Let%20me%20know%20if%20I'm%20way%20off%2C%20but%20it'd%20appear%20that%20even%20this%20approach%20has%20a%20problem%20-%20I'll%20have%20a%20further%20look%20later%20on%20perhaps.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20857px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F26471i967DDB0B0609F5FF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22conf.PNG%22%20title%3D%22conf.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142224%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Change%20Conference%20Toll%20Number%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142224%22%20slang%3D%22en-US%22%3E%3CP%3EGetting%20closer.%3C%2FP%3E%0A%3CP%3EGet-CsUserAcp%20joe%20%7C%20remove-csuseracp%3C%2FP%3E%0A%3CP%3E%5E%5E%20This%20does%20indeed%20clear%20out%20everything.%20In%20powershell%20and%20in%20the%20GUI%2C%20the%20conference%20numbers%20are%20blank%20after%20this%20command%20has%20been%20run.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHowever%2C%20when%20I%20run%20the%20next%20command%2C%20then%20the%20469%20area%20code%20toll%20number%20does%20not%20%22stick%22%20instead%20after%20a%20few%20minutes%2C%20the%20originally%20assigned%20number%20(12135146314)%26nbsp%3Bre-appears.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGet-CsUserAcp%20joe%20%7C%20set-csuseracp%20-TollNumber%2014692700098%20-ParticipantPasscode%200%20-Name%20Microsoft%20-Domain%3CBR%20%2F%3Eresources.lync.com%20-Url%20%3CA%20href%3D%22https%3A%2F%2Fdialin.lync.com%2F577d82e2-5d35-43bb-a570-9ac75c112423%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdialin.lync.com%2F577d82e2-5d35-43bb-a570-9ac75c112423%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20makes%20me%20thing%20it%20is%20not%20possible%20to%20do%20a%20bulk%20change%20of%20the%20conferencing%20phone%20number%20via%20powershell%20-%20has%20anyone%20successfully%20done%20this%20or%20is%20it%20only%20possible%20in%20the%20GUI%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-142184%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Change%20Conference%20Toll%20Number%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-142184%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EGet-CsUserAcp%20joe%20%7C%20remove-csuseracp%20will%20just%20clear%20the%20existing%20acp%20info%20(including%20the%20duplicate%20issue).%20You%20can%20then%20set%2C%20but%20would%20also%20need%20to%20add%20the%20-tollnumber%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Super Contributor

Can you use powershell to change existing users' default conference bridge?

 

we have several hundred users who were assigned a toll number for 415 area code and we want to change all existing users default toll number to be something closer.

 

It appears you can do the bulk change in the graphical interface... trying to speed it up by using powershell.

 

So far have been unsuccessful using set-csuseracp.

 

Get-CsUserAcp joe | set-csuseracp -TollNumber 14692700098 -ParticipantPasscode 0 -Name Microsoft -Domain
resources.lync.com -Url https://dialin.lync.com/577d82e2-5d35-43bb-a570-9ac75c112423

 

This failed to change the existing toll number, in fact, it added it to the existing one. Take a look:

Before Change:

AcpInfo            : {<acpInformation default="true">
                       <tollNumber>12135146314</tollNumber>
                       <tollFreeNumber>18553367707</tollFreeNumber>
                       <participantPassCode>0</participantPassCode>
                       <domain>resources.lync.com</domain>
                       <name>Microsoft</name>
                       <url>https://dialin.lync.com/577d82e2-5d35-43bb-a570-9ac75c112423</url>
                     </acpInformation>}

 

After Change:

AcpInfo            : {<acpInformation>
                       <tollNumber>14692700098</tollNumber>
                       <participantPassCode>0</participantPassCode>
                       <domain>resources.lync.com</domain>
                       <name>Microsoft</name>
                       <url>https://dialin.lync.com/577d82e2-5d35-43bb-a570-9ac75c112423</url>
                     </acpInformation>, <acpInformation default="true">
                       <tollNumber>12135146314</tollNumber>
                       <tollFreeNumber>18553367707</tollFreeNumber>
                       <participantPassCode>0</participantPassCode>
                       <domain>resources.lync.com</domain>
                       <name>Microsoft</name>
                       <url>https://dialin.lync.com/577d82e2-5d35-43bb-a570-9ac75c112423</url>
                     </acpInformation>}

 

Now what's worse is I can't seem to remove the extra line... it errors out when trying to clear it out.

remove-CsUserAcp -identity joe -Name Microsoft -TollNumber 14692700098
Object reference not set to an instance of an object.
    + CategoryInfo          : NotSpecified: (:) [Remove-CsUserAcp], NullReferenceException
    + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Rtc.Management.AD.Cmdlets.RemoveOcsUserAcpCmdlet
    + PSComputerName        : admin1a.online.lync.com

6 Replies

Get-CsUserAcp joe | remove-csuseracp will just clear the existing acp info (including the duplicate issue). You can then set, but would also need to add the -tollnumber

Getting closer.

Get-CsUserAcp joe | remove-csuseracp

^^ This does indeed clear out everything. In powershell and in the GUI, the conference numbers are blank after this command has been run.

 

However, when I run the next command, then the 469 area code toll number does not "stick" instead after a few minutes, the originally assigned number (12135146314) re-appears. 

Get-CsUserAcp joe | set-csuseracp -TollNumber 14692700098 -ParticipantPasscode 0 -Name Microsoft -Domain
resources.lync.com -Url https://dialin.lync.com/577d82e2-5d35-43bb-a570-9ac75c112423

 

This makes me thing it is not possible to do a bulk change of the conferencing phone number via powershell - has anyone successfully done this or is it only possible in the GUI?

 

Hi Joe,

I might have misinterpreted this, but I'm not sure Set-CsUserAcp is called for here, would Set-CsOnlineDialInConferencingUser not achieve what you're after? CsUserAcp is for the configuration of Audio Conferencing Providers, not the assignment numbers to users. All you need is for the new number to existing as a service / conferencing number in your tenant already.

 

Get-CsOnlineDialInConferencingUser -Identity "ben@gecko-studio.co.uk" outputs the conferencing information for myself, and I can see the service number which is my currently assigned default conferencing number.

 

So in your instance the following would update joe's number to 4414692700098;

set-CsOnlineDialInConferencingUser joe -ServiceNumber 4414692700098

You might also choose to use the -sendemail parameter to prevent users receiving another welcome to PSTN conferencing email when you update their number.

 

Here's the kicker though; I've tried to do this in bulk and hit a wall - Ordinarily I'd use something similar to the below in order to filter all users with a particular conferencing number, and then replace that number (fictional numbers used);

get-CsOnlineDialInConferencingUser | Where-Object {$_.servicenumber -eq 442033215256} | Set-CsOnlineDialInConferencingUser -ServiceNumber "4417526868635"

 

In my head this should retrieve all users who currently have conferencing numbers of 442033215256 and replace that number with 4417526868635, but I receive the below response;

WARNING: The user cannot be found or does not belong to the specified tenant.

 

I've included the below screenshot for reference which has 3 commands. First one proving that the retrieving by filter works, second one attempting to update the retrieved results which fails, and the third one proving that it work fine by individually specifying the identity.

 

I only had a short time to look at this, but yeah it'd seem somethings a bit out of whack with bulk updates to conferencing number assignment. Let me know if I'm way off, but it'd appear that even this approach has a problem - I'll have a further look later on perhaps.

 

conf.PNG

Good Call Ben, this worked for me: 

Get-CsOnlineDialInConferencingUser michael | %{Set-csOnlineDialInConferencingUser -identity $_.sipaddress.substring(4) -ServiceNumber 1##########}

I instantly received the  "Your Office 365 Dial-In Conferencing information has changed", and immediately booking a Skype meeting had the new details.

Best Response confirmed by Joe Stocker (Super Contributor)
Solution

Ah spot on, thanks Michael.

 

So Joe, based on what Michael's bought to the table there, you can use the below to update users conferencing numbers in bulk, where XXXXXXXX is the existing number, and YYYYYYYY is the number you want to replace it with.

 

get-CsOnlineDialInConferencingUser | Where-Object {$_.servicenumber -eq XXXXXXXX} | %{Set-CsOnlineDialInConferencingUser -identity $_.sipaddress.substring(4) -ServiceNumber YYYYYYYY}

 

You might want to run just the GET part of the command on its own first to ensure it pulls back the expected users for you. I've tested this and it works fine.

Thank you! This worked perfectly!
I also noticed a new command which appears to be in preview, if you run get-CsOnlineDialInConferencingUser there is an on/off switch for whether a user can use the Toll Free numbers - very cool! Says I can't use it because I am not in the preview program. Can't wait till that rolls out!