FAQ Database Discussion Community


Correct workflow for presence subcription for day/night

rest,lync,ucwa,skype-for-business
In my app, I get Lync Presence of our employees through UCWA. It works fine, but I need to knock to Lync with reportMyActivity every 3-4 minute. I don't need to get presence info at night when employees are not at work, so I stop reportingMyActivity at the end of...

API code to add/modify text into the lync conversation window

lync
I'd like to read the conversation window of MS Lync and either reformat some text in it, or if that is not possible, to add a new formatted text at the bottom of it (I want to make it clickable). Is there a way to modify or add new text...

System.UnauthorizedAccessException when trying to accept audio call in Lync 2013

c#,winforms,lync
I have a problem with my Lync client that I am designing. I am running Lync 2013 in UI Suppression mode and I am able to send/receive IM's just fine, and begin audio calls. But a problem occurs when I try to receive an audio conversation from someone else. I...

How do I add a prefix to Format-List output?

powershell,lync,lync-2013
I need to generate an import file in the format of sip:[email protected] for the Lync User Management tool. I'm using this PowerShell commmand: Get-DistributionGroupmember [email protected] | Select-Object primarysmtpaddress I'm having trouble prepending the characters "sip:" to the column output, and saving it to a CSV using Export-Csv....

Maximizing Lync Window Using Powershell?

powershell,lync
I've created a script that will automatically initiate a video call with a user of my choice. When ran, the script leaves the video call docked, with the lync video call window flashing. How would I be able to get this window to maximize and go to full screen when...

Iterate Generic List of Strings (Lync chatroom members) in Powershell

string,powershell,generic-list,lync
I can't iterate through a Generic List of Strings in Powershell. The Object is the members of a Lync chatroom. Command to get the Generic List: $crMembers = get-csPersistentChatroom -identity "XXXX" | select members The error I receive when trying to read the Strings in the Generic List is: WARNING:...

When to refresh token?

rest,authentication,oauth,lync,ucwa
I have application that continuously running in background. The app uses UCWA REST api. After authentication I get OAuth token and some expiration time. Authentication docs say "The lifetime of a token is eight (8) hours for authenticated users. The client application should monitor the expiration time and refresh the...

UCWA: integrating advanced chat options

chat,lync,instant-messaging,ucwa
I have created a simple chatting application using which two users can chat with each other. Currently i'm able to send only simple and plain text messages. Next as an enhancement, i would like to send formatted text messages. Eg. Changing the font, text style, size, bold, italics, etc. Also...

Is Lync 2013 Client SDK compatible with Skype for Business?

lync,skype-for-business
We have made an application which use the Lync 2013 Client SDK to interact with people depending on some status. The IT department just asked me if they can allow the upgrade to the Skype for Business. Currently I can't find the Client SDK for the Skype for Business. Will...

Lync api suddenly stopped sending events without notification

lync,ucwa
I use UCWA to get presence events to my application from Lync (Skype for business). The application extends presence subscription when Lync notifies to do so.It works fine, but after some time Lync stops sending me events without any notification. I tried to play with presense subscription duration, timeout and...

Lync Powershell enable group members

powershell,lync
I'm trying to automate enabling members of a group for Enterprise Voice, I have the following (pretty rough I know), which work if there's only a single member: $telephoneNumber = Get-ADGroupMember -Identity "LyncEnterpriseVoice" | Get-ADUser -Properties telephoneNumber | Select-Object -ExpandProperty telephoneNumber $ext = Get-ADGroupMember -Identity "LyncEnterpriseVoice" | Get-ADUser -Properties otherTelephone...

Lync 2013 SDK ActivityID for “In a conference call” and "In a meeting

lync,lync-2013,lync-client-sdk
The Lync 2013 SDK has some pretty non-intuitive ActivityID strings used as "identifiers" for the built-in availabilities. Here are the ones I have deciphered: Available - "Free" Busy - "Busy" In a call - "on-the-phone" In a meeting - ??? In a conference call - ??? Presenting - "in-presentation" Do...