Distinguishing an external user from an internal user in OneDrive Securlet
Article ID: 184354
CASB Gateway Advanced
The customer wants to know how OneDrive distinguishes internal from external users.
OneDrive assigns a "userId" to an internal (system/tenant) user and it sends NULL for an external user.