Hello awf09j,
Welcome to the MS Q&A Forum.
To change the status of expired accounts in Linux OS, you can use the following commands:
- sudo chage -E -1
- sudo chage -l username
Or reset the user access (password or ssh) to access the server to reset the expired account state.
These commands can be executed through Run Commands from the Azure Portal or the Serial Console. You can refer to the following links for more information:
- https://learn.microsoft.com/en-us/azure/virtual-machines/linux/run-command
- https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/serial-console-linux
Hope above will help you resolve the issue.
Sincerely,
Olga Os.