How do you manage visa and work permit tracking for employees?

Curious how HR teams are currently handling this - do you track visa expiry dates and work permit renewals in a spreadsheet, your HRIS, or something else? Finding it's a common pain point and wondering what others are doing.