Forum Discussion
Teams devices - Configuration Profiles - PowerShell
Kljaja82 There does seem to be an unpublished API to make changes programmatically to configuration profiles and apply them using
https://admin.devicemgmt.teams.microsoft.com/api/v2/configProfileses
(This is in fact the API that the Teams Admin Center uses. )
There's an interesting blog and sample script here where he shows how to programmatically bulk change 400 devices!
https://alexholmeset.blog/2021/12/18/teams-devices-configuration-profiles-uploader/
This being said, I did a pretty deep comparison of using config profiles vs using vendor portals (such as YMCS for Yealink and PolyLens for Poly) and for now seems those portals offer more stability and options as well as API programmability to configure the IP phones.
https://easy365.io/remote-provisioning-of-yealink-phones-for-microsoft-teams-ymcs-vs-tac-configuration-profiles-ebc9fafa3b46