The Microsoft.Azure.Batch.IUser and Microsoft.Azure.Batch.User objects are unrelated to Azure Active Directory entities.
Use these (Batch Service) objects to manipulate user accounts in the VMs of a pool. Specifically, they map to local user accounts in the windows operating system running as the guest OS in the VM.
These objects cannot be used to manipulate Azure Active Directory. Perhaps your question is meant for the AAD forum?
Please let us know if you need assistance with Azure Batch Service users (and/or rdp access).
d
daryl