Get Scheduled Lync Meetings from SQL

7
9563

The following SQL query will get scheduled conferences from the Lync RTC database. From a Lync Standard Edition server its in the RTCLOCAL instance, otherwise you’ll find it in the backend SQL server. To run the query you will need to open SQL Server Management Console, connect to the database, then open a new Query. Copy the following code snippet and run.

All Users

 

Specified User

 

 

7 COMMENTS

  1. Thanks Andrew,
    it is very useful.
    How can I specific sip address to search the specific user conference information?

  2. Hi, How can I get IP addresses of SfB Client Connected? So we can check from where the Request is coming.

  3. Andrew,
    First, thank you for this query. I think this is what I was looking for as I needed to pull a list of conferences out of my 2 pools. Next issue is figuring out which are “active” or not and maybe find a way to clear out the inactive/outdated ones from the database. I’m hoping this data can help.

    This query returned a LOT of conferences (user base of approx. 20k users), but is there a way I can tell from this data if the meeting is still active or not? IE, overall it returned 13366 lines. Of those, 13312 have NULL in ExpiryTime and 9936 have NULL in LastActivateTime.

    Thank you for your help.. and this query.

    • Hi Mike. In the past I have used Excel filters to filter to non-expired meetings, then ordered by last active. This appears give you re-occurring and still active meetings + meetings that have not occurred yet (never been active). Hope that helps a little. The report is certainly not perfect.

LEAVE A REPLY

Please enter your comment!
Please enter your name here