This can only be done as an Administrator in Azure AD via Intune Portal (Endpoint Manager) or PowerShell:
Change Owner for Azure AD joined Windows 10 Devices
https://blog.matrixpost.net/change-owner-for-azure-ad-joined-windows-10-devices/
-----------------------------------------
If this is helpful please accept answer.