Skype for Business Server - Extracting data with PowerShell RRS feed

  • Question

  • Hi there!

    We are currently working on a application on where employees can be found on a map with their live status. To test this we want to build a basic applications with the user information data taken from our skype for business server. 

    Is there a way to get user information + live status with powershell commands? I've found a SkypeforBusiness Module but this was only for use with Skype for Business in Azure.

    Thanks in advance!

    Wednesday, November 21, 2018 1:27 PM

All replies

  • Hi,

    You could run the command “Export-CsUserData” as Admin to export SFB user data in a format. The data will be exported as a .ZIP file containing a pair of XML documents. 

    And for the presence you want, I found an article here regarding creating the presence dashboard via Skype Web SDK, including subscribing to presence changes for each contact.

    Besides, the dynamic user data such as presence stored in the database called “rtcdyn” under database instance RTC Local, you could export the data from RTC Local instance if possible.

    And here is a similar case about fetching user presence data could be as the reference.

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    Kind regards,

    Calvin Liu

    Please remember to mark the reply as an answer if you find it is helpful. It will assist others who has similar issue. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    • Edited by Calvin-Liu Thursday, November 22, 2018 7:42 AM
    • Proposed as answer by Calvin-Liu Monday, December 17, 2018 5:59 AM
    Thursday, November 22, 2018 7:41 AM
  • Hi,

    Are there any update for this query, if the reply is helpful to you, please try to mark it as an answer, this will make answer searching in the forum easier and be beneficial to other community members as well. :)

    Kind regards, 

    Calvin Liu

    Please remember to mark the reply as an answer if you find it is helpful. It will assist others who has similar issue. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to shareexplore and talk to experts about Microsoft Teams.

    Monday, December 3, 2018 3:55 PM