The client, located in the United States, manages multiple clients utilizing Microsoft Teams for their communication needs. The client expressed the need to integrate phone numbers into their Teams accounts, allowing calls to be redirected to their associated phone numbers when online. The client desired the capability to receive Teams calls on their designated phone number.
However, the manual process of adding phone numbers proved challenging and time-consuming. The client had to navigate through the admin panel individually for each user, manually inputting the required information. Additionally, the client incurred substantial costs as they had to purchase multiple licenses to facilitate this process, adding to the overall expense.
Employing Azure Functions and PowerShell in conjunction with Azure Enterprise Application, Graph API, and containerization, we orchestrated the integration. This involved editing the Teams Admin Portal, incorporating certificates, permissions, and email functionalities to establish a seamless connection. Utilizing app registration, we automated the process of adding phone numbers to Teams, enabling the client to efficiently receive calls.
Establishing a new tenant was imperative due to the multi-tenant nature of the app, posing challenges in direct editing. Overcoming the hurdle of using Azure Functions with PowerShell was a notable challenge, given Teams' inherent restriction on such operations outside the portal. Customization was pivotal to automate the entire manual process efficiently.
Manual processes were eliminated as the client could now effortlessly provide telephonic services and enable automatic routing through a simplified single-click button process on a web app.