Step 5 - Turn off password expiration
Based on organization policies, resource account passwords may be set to expire automatically after a period of time. If the resource account password expires, the Teams Rooms device with sign out and can't sign in again without manual intervention.
Note
Setting Password never expires is a requirement for shared Microsoft Teams devices. If your organization prohibits passwords that don't expire, you'll need to create an exception for Teams device resource accounts.
To turn off password expiration, follow the steps in one of the following tabs:
Connect to Microsoft Graph PowerShell:
Connect-MgGraph -Scopes "User.ReadWrite.All"
Set the password to never expire, this example sets the password for the account ConferenceRoom01@contoso.com to never expire.
Update-MgUser -UserId ConferenceRoom01@contoso.com -PasswordPolicies DisablePasswordExpiration -PassThru