none
lync enable accounts by simply adding in the Identity of the user RRS feed

  • Question

  • I'm trying to write a PS script to make it easier to lync enable accounts by simply adding in the Identity of the user.

    $User= Read-Host -prompt "Add lync user UPN,SIP,domain\logon, and AD Display Name"

    $LyncUser= Get-CsAdUser -Identity $User

    $user|gm it is a string. I need it to be "TypeName:Microsoft.Rtc.Management.ADConnect.Schema.ADUser"

    So that the following works

    Get-CsAdUser -identity $User |Enable-CsUser -RegistrarPool "FE Pool" -SipAddressType emailaddress

    Thank you

    Thursday, June 20, 2019 4:48 PM

Answers

  • Hi Tiri2014,

    If you want to bulk enable Skype for Business users, you could refer to the following blog: Bulk Enabling Skype for Business Users. Here’s a script you could use to do this. 

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    Best Regards,
    Evan Jiang


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    • Marked as answer by Tiri2014 Friday, June 21, 2019 7:28 PM
    Friday, June 21, 2019 2:32 AM
    Moderator