Genesys Cloud - Main

 View Only

Sign Up

Expand all | Collapse all

Report on Users that have never logged in

  Thread closed by the administrator, not accepting new replies.
  • 1.  Report on Users that have never logged in

    Posted 07-21-2022 08:12
    No replies, thread closed.
    Hi there,

    We have a BPO business and there is a high turn over. We currently have 2500 users active and another 1500 that are inactive.

    is there a way to pull a report from Genesys of all users with log in stats? meaning to see active users that have never logged in, or haven't logged in forever ago to see if they are even employed anymore so we can clear them out.
    #Reporting/Analytics

    ------------------------------
    Judy Heckbert
    NTT Canada
    ------------------------------


  • 2.  RE: Report on Users that have never logged in

    Posted 07-21-2022 11:23
    No replies, thread closed.
    Hi Judy - 
    We do this on a regular basis for my team. We pull data from the/api/v2/users and expand on the dateLastLogin value as a starting point. We take that data and import it into Excel for further analysis. Then we filter the records for accounts that have either never logged in or haven't logged in for the past 30 days and compare that against our HRIS system, which is the source of truth to determine employment status. 
    Here's a couple of the lessons we've learned along the way. You're likely aware of these, but I wanted to share for others who might look at this thread. :)
    1) You'll get likely get some outliers in the data. For example, the president of my company never log into Genesys; he just cares if his desk phone is capable of making/receiving calls, so he's never in the UI. 
    2) If your accounts have DIDs on them, you'll probably want to make sure you reclaim those before deactivating the account or else things can get weird.
    3) Make sure any dashboards referencing the user get updated prior to deactivating the account or the dashboard might start throwing errors.

    I hope this helps!

    ------------------------------
    Cory King
    IT Lead
    IGS Energy
    ------------------------------



  • 3.  RE: Report on Users that have never logged in

    Posted 07-21-2022 11:44
    No replies, thread closed.

    I found the API and ran it but every single agent has the same "dateLastLogin": "0000-12-30T00:00:00Z". I tried a few pages and everyone is the same.

     

     

     

    Upcoming PTO: July 22 & July 25

     

    Judy Heckbert
    Manager, Call Center Platforms | Business Process Outsourcing | NTT

     

     

    Office: 416-521-2862

    Mobile: 902-303-3657

    E-mail: judy.heckbert@global.ntt

    Logo  Description automatically generated

    For more information, please visit our website or Follow us on Social Media:

       

     


    This email and all contents are subject to the following disclaimer:
    https://services.global.ntt/en-us/email-disclaimer





  • 4.  RE: Report on Users that have never logged in

    Posted 07-21-2022 12:51
    No replies, thread closed.
    Hi Judy - 
    I'm sorry to hear that! Unfortunately, I'm not getting the same results on my end. Hopefully someone else in the Community might have an idea on how to solve this. I do recall that before the dateLastLogin was added as a parameter to the API endpoint, we used the lastTokenIssued field as a surrogate - so maybe give that a whirl?

    Thanks,

    ------------------------------
    Cory King
    IT Lead
    IGS Energy
    ------------------------------



  • 5.  RE: Report on Users that have never logged in

    Posted 07-23-2022 20:51
    No replies, thread closed.
    Another query here Judy.  How many of the users you're running the query on are actually cloned users/users from an authorised org?  I have a feeling you'll only see data populated for dateLastLogin if the users login directly to that org.  Whereas you'll get token info for any of them.

    ------------------------------
    Vaun McCarthy
    ------------------------------



  • 6.  RE: Report on Users that have never logged in

    Posted 07-21-2022 14:22
    No replies, thread closed.
    Can you point me to any where on the internets where I can find instructions on importing JSON to Excel that works with the data that comes out raw when you manually run an API?

    ------------------------------
    Brenda Wynne
    Alcon Vision LLC
    ------------------------------



  • 7.  RE: Report on Users that have never logged in

    Posted 07-21-2022 14:26
    No replies, thread closed.
    Hi Brenda -
    This site seems to do a pretty good job of explaining the process: https://www.howtogeek.com/775651/how-to-convert-a-json-file-to-microsoft-excel/

    Thanks!

    ------------------------------
    Cory King
    IT Lead
    IGS Energy
    ------------------------------



  • 8.  RE: Report on Users that have never logged in

    Posted 07-21-2022 14:40
    No replies, thread closed.
    I always get stuck at this step:

    It doesn't give me the expand columns option To choose which columns to keep in your spreadsheet, next to "Column1," click the double-arrow icon.

    ------------------------------
    Brenda Wynne
    Alcon Vision LLC
    ------------------------------



  • 9.  RE: Report on Users that have never logged in

    Posted 07-25-2022 06:34
    No replies, thread closed.
    Hi Brenda,

    Apologies, but what double-arrow icon are you referring to please?

    Thanks!


    ------------------------------
    Bert Barrez
    Sedgwick Claims Management Services, Inc.
    ------------------------------



  • 10.  RE: Report on Users that have never logged in

    Posted 07-26-2022 15:49
    No replies, thread closed.

    When it says to expand the columns.

    I'm probably not saving the json correctly.  I have been just copying/pasting it from the API explorer – to a text file that I then save as JSON format.  There's a reason we have an entire team to work on these things I guess....  But unfortunately, they only work on pulling the data that is relevant to them, and not necessarily IT.

     






  • 11.  RE: Report on Users that have never logged in

    Posted 07-23-2022 21:16
    No replies, thread closed.
    Your other option is to use the Genesys CLI under something like Powershell.  You can then "natively" have it convert the JSON to CSV for you.  Works quite well with something like this users API.

    ------------------------------
    Vaun McCarthy
    ------------------------------



  • 12.  RE: Report on Users that have never logged in

    Posted 07-22-2022 03:51
    No replies, thread closed.
    Hi, you want to use lasttokenissued as dateLastLogin does not get updated all the time.

    ------------------------------
    andrew lewis
    Health Management Ltd
    ------------------------------



  • 13.  RE: Report on Users that have never logged in

    Posted 07-22-2022 04:22
      |   view attached
    No replies, thread closed.
    Have a look at the attachment. This is how i import JSON data into Excel. Hope it helps.



    ------------------------------
    andrew lewis
    Health Management Ltd
    ------------------------------

    Attachment(s)



  • 14.  RE: Report on Users that have never logged in

    Posted 07-26-2022 13:38
    No replies, thread closed.
    Thank you to everyone who has chimed in. We ended up using the /api/v2/users to get the data and then used the JSON to excel method explained. We used lastTokenIssued field.

    This gave me exactly what I needed. Thank you to all. 


    ------------------------------
    Judy Heckbert
    NTT Canada
    ------------------------------