Get Scheduled Lync Meetings from SQL

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

 

 

Andrew Morpethhttps://ucgeek.co/author/amorpeth/
Andrew is a Modern Workplace Consultant specialising in Microsoft technologies based in Auckland, New Zealand; Andrew is a Director and Professional Services Manager at Lucidity Cloud Services and a Microsoft MVP.

Related Articles

Azure Virtual Desktop Review

This Azure Virtual Desktop review reveals a virtual desktop solution ready for the modern workplace. It's modern, fast, and scalable.

Azure Virtual Desktop Classic vs ARM

This article takes you through some of the differences between Azure Virtual Desktop Classic vs ARM, Microsoft's upgrade to AVD.

Manage Azure Virtual Desktop with Endpoint Manager (Intune)

Endpoint Manager (Intune) will support Azure Virtual Desktop & Windows 10 multi-session, a more cost-effective approach to virtual desktops.

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

Andrew Morpethhttps://ucgeek.co/author/amorpeth/
Andrew is a Modern Workplace Consultant specialising in Microsoft technologies based in Auckland, New Zealand; Andrew is a Director and Professional Services Manager at Lucidity Cloud Services and a Microsoft MVP.

Latest Articles

Azure Virtual Desktop Review

This Azure Virtual Desktop review reveals a virtual desktop solution ready for the modern workplace. It's modern, fast, and scalable.

Azure Virtual Desktop Classic vs ARM

This article takes you through some of the differences between Azure Virtual Desktop Classic vs ARM, Microsoft's upgrade to AVD.

Manage Azure Virtual Desktop with Endpoint Manager (Intune)

Endpoint Manager (Intune) will support Azure Virtual Desktop & Windows 10 multi-session, a more cost-effective approach to virtual desktops.

Azure Virtual Desktop Domain Join Options

This article summarises your Azure Virtual Desktop Domain join options - ADDS, Azure ADDS, Azure AD (preview).

Active Directory Options Demystified – ADDS, AADDS, AAD

There are several Active Directory options in today's cloud-centric world. This article demystifies and provides guidance on your best option.