Forum Discussion
JFM_12
Sep 20, 2024Iron Contributor
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
- deanshepherdBrass ContributorYou 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_12Iron ContributorHello deanshepherd
Thank you very much.
I will try it. Will the user have TeamsOnly mode?
Regards
JFM_12- deanshepherdBrass ContributorYou 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