The original requirement was to switch the communication device in Skype for Business, but since there is no such api (please tell me if there is any way to do this), so I gave