To check the Exchange Device ID in Samsung Mail on Android devices, follow the steps below:
Goto Settings
Select the Exchange email account
Click "Exchange server settings"
Scroll to the bottom until you see "Mobile Device ID"