Forum Discussion

JFM_12's avatar
JFM_12
Iron Contributor
Sep 20, 2024
Solved

Powershell to assign phone numbers with Operator Connect

Hello

Hope everything is well

Is there a powershell that assigns licences and phonenumber to users with Operator Connect

Regards

JFM_12

  • Yes, in the guide under the configure operator connect section, point 2 states: "Users that will be assigned phone numbers acquired with Operator Connect need to be in TeamsOnly mode"

    link here https://learn.microsoft.com/en-us/microsoftteams/operator-connect-configure#acquire-numbers-for-new-teams-users

    Regards
    D

6 Replies

  • deanshepherd's avatar
    deanshepherd
    Brass Contributor
    You can assign licences via powershell with this guide https://learn.microsoft.com/en-us/microsoft-365/enterprise/assign-licenses-to-user-accounts-with-microsoft-365-powershell?view=o365-worldwide You can assign DDI telephones via teams powershell using this guide https://learn.microsoft.com/en-us/microsoftteams/assign-change-or-remove-a-phone-number-for-a-user#assign-a-phone-number-to-a-user just combine Hope this helps D
    • JFM_12's avatar
      JFM_12
      Iron Contributor
      Hello deanshepherd
      Thank you very much.
      I will try it. Will the user have TeamsOnly mode?
      Regards
      JFM_12
      • deanshepherd's avatar
        deanshepherd
        Brass Contributor
        You can use the powershell Grant-CsTeamsUpgradePolicy to switch just those user you are upgrading to teams only mode to ensure calls are forced to that client more on that here
        https://learn.microsoft.com/en-us/powershell/module/skype/grant-csteamsupgradepolicy?view=skype-ps

        Here is a bit more on teams only mode and other coexistence settings
        https://learn.microsoft.com/en-us/microsoftteams/setting-your-coexistence-and-upgrade-settings

Resources