A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Is the user created in the cloud or synced from AD? If the latter, any changes must be made on-premises.
Other than that, try doing the change via the EAC or PowerShell. If you are getting an error there too (and the user is cloud-created), best open a support case.