Hello!
There's nothing built-in I'm aware of that will change a user's password on each login, however there are several ways to change a user's password:
- Reset Remote Desktop or administrator password on a Windows VM
- Reset a user's password using Azure Active directory
- Change another user's password with net user
If the reason you want to reset the user's password on each login is related to security, then Azure AD (Azure Active Directory) would be the recommended solution:
https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-whatis
https://learn.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview
If what you're really after is more refined control over user's use of a VM, DevTest Labs or Azure Lab Services may be what you're looking for:
https://learn.microsoft.com/en-us/azure/devtest-labs/lab-services-overview