Hi Mathew,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
To find the machine token refresh timestamp for Azure Virtual Desktop (AVD) session hosts, you can check the Windows Event Logs on the session host VMs. Specifically, the machine token refresh events are logged in the "Microsoft-Azure-Desktop-SessionHost" event log.
Steps to Check Machine Token Refresh Logs
- Log in to the Windows 10 session host VM.
- Open the Event Viewer by typing eventvwr in the Run dialog (Win + R).
- In the Event Viewer, expand the Applications and Services Logs.
- Navigate to Microsoft > Windows > Azure-Desktop-SessionHost > Operational.
- In the Operational log, look for events that indicate the machine token has been refreshed.
- You can check the timestamps of these events to determine when the last refresh occurred.
- You can also automate the retrieval of these logs using PowerShell scripts to check for the last refresh timestamp programmatically.
For more details, please refer to the below documentation:
Update session hosts using session host update in Azure Virtual Desktop (preview)
If an answer has been helpful, please consider accept the "Answer" and "Upvote" to help increase visibility of this question for other members of the Microsoft Q&A community.