User's LastActivity datetime from API


Userlevel 1

Hi,

 

Is it possible to get a member or non-team member’s LastActivity datetime from the API?

 

If not is it one the roadmap and is there a scheduled release date?

 

many thanks


10 replies

Hi richardw, 

User's LastActivity datetime is not supported currently by the API and it’s not in the plan to add it. 

 

Is there any specific use case you planned to use this for? 

 

Thanks,

Sultan

Is there any specific use case you planned to use this for? 

Hey,

 

A great use case for this would be pruning inactive Full accounts by switching them to Non-Team members. 

Thanks

Is there any specific use case you planned to use this for? 

Hey,

 

A great use case for this would be pruning inactive Full accounts by switching them to Non-Team members. 

Thanks

@Sultan We have a similar requirement. For example, we could remove inactive users so that they don’t consume any license. To do this manually would be tiresome and repetitive. If we get the last activity date, we can easily label a user as inactive by setting rules (last activity > 60 days for example). This could be really helpful. Any ETA on this? 

Agreed! Please add each user’s last login and/or last activity to the User object and the SCIM object. This is required for automatic recovery of idle licensees, and is part of any SCIM strategy.

Userlevel 1

Adding my vote to the above. It is vital for our enterprise account.

Userlevel 1

We got tired of dealing with this, therefore we have the following:

  • check Full users weekly
  • get their miro email
  • make API call with to the IdP and query the last time user logged in to the Miro (this is a tricky one as activity doesn’t necessarily equals user logins)
  • send user message on Slack saying something like “it seems there’s no activity on your account, please confirm”
  • if user doesn’t confirm within 72 hrs, record is cached in DB and ticket for changing license to free restricted is made.

Obviously, we thought about deactivating as an easy step, but users went mental. And changing user license type using SCIM isn’t supported…

Still adding my vote

Userlevel 1

Dawid, thanks for explaining your process. Makes sense. We will take a tougher approach and deactivate the least active users once a month to free up licenses for those who really need them.

Userlevel 1

btw Matt, what is your approach to license eligibility? Do you provide those to anyone or selected depts/roles?

Userlevel 1

After much debate, we agreed to prioritise employees over contractors and consultants. License approval is via ServiceNow request and requires manager approval. When no licenses are available, they can reapply later and try again. It’s nowhere near perfect but we simply couldn’t cut some teams and not others.

Userlevel 1

Sure, makes sense Matt. Thx! :muscle:

Reply