I am trying to access Microsoft Teams client COM object.
As it was possible with Skype For Business with Lync client object in PowerShell.
Exactly opposite to this.
[Reflection.Assembly]::LoadFile("C:\temp\Microsoft.Lync.Model.dll")
[Reflection.Assembly]::LoadFile("C:\temp\microsoft.office.uc.dll")
$lyncclient = [Microsoft.Lync.Model.LyncClient]::GetClient()
$lyncclient2 = [Microsoft.Lync.Model.ContactInformationType]::Availability
$lyncclient.Self.Contact.GetContactInformation($lyncclient2);
This code results in presence of current Lync/Skype user.
$teamsClient = [Microsoft.Office.Uc.IUCOfficeIntegration]
$teamsClient.GetInterfaces()
Following small article https://www.msxfaq.de/teams/api/teams_presence.htm I am not even able to recieve Com obj list in Get-ChildItem HKLM only in Get-ChildItem HKCU.
My goal is to use the same functionality as Outlook does, to read presence of users in MS Teams.