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