Thank you for posting this question in Microsoft Q&A.
As I understand you are trying to change some properties of users accounts in Azure AD and you are getting an error because these accounts were initially synced from On-premises Active directory. Currently you do not have any on-premises AD.
To disconnect the sync from Azure side you can follow below instructions.
- Open Windows PowerShell as administrator from any of the Windows device.
- Run the Install-Module MSOnline command.
- If you're prompted to install the NuGet provider, type Y and press Enter.
- If you're prompted to install the module from PSGallery, type Y and press Enter.
- Once module is installed you can run below commands,
- Connect-MsolService (enter global administrator credentials of you Azure AD)
- Enter command "Set-MsolDirSyncEnabled -EnableDirSync $false".
- This will change all the user account status to Azure Active directory.
Post this you will be able to change user properties.
Let me know if you have any further questions on this.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.