How to differentiate intune customer or non-intune customer
cihanerd opened this issue · 0 comments
cihanerd commented
Our application has many customers and not all of them using intune. We need to understand after login operation and before enroll operation if customer's domain has intune or not. If no then we won't try to enroll user via Intune Manager.
In my scenario after successful login with MSAL I am trying to register user for MAM.
The problem here, Intune SDK tries to get consent about Graph API DeviceManagement scopes. It is really disturbing for customer which has no Intune related things. Somehow I need to understand whether customer has Intune or not. If customer has no Intune then I won't try to enroll user after login.