result I get through /users are cloud users?
Yes, graph api GET /users will returns both cloud and onprem synced users.
onPremisesSyncEnabled property return true for users that are (cloud + onPrem)
I don't see this behaviour. onPremisesSyncEnabled
should only be true for onprem synced users.
Can you compare the other properties like onPremisesLastSyncDateTime
for the cloud users that return onPremisesSyncEnabled= true
. All these values should be null for cloud only users. If you see them then its very specific to your tenant and you may want to create a support request.