microsoftconnect / Taskr-Sample-Intune-Android-App

Taskr is a simple, open source, Android app designed to let you test out the capabilities of the Microsoft Intune APP SDK.
MIT License
21 stars 18 forks source link

Policy not getting from Itune Portal #44

Open Spectra6170 opened 5 months ago

Spectra6170 commented 5 months ago

Please provide information on how to fetch policies from intune portal. I followed this three steps :1) The app must implement and register an instance of the MAMServiceAuthenticationCallback interface. The callback instance must be registered in the onCreate() (or onMAMCreate()) method of the Application subclass.

When an account is created and the user successfully signs in with MSAL, the app must call registerAccountForMAM.

When an account is removed, the app should call unregisterAccountForMAM to remove the account from Intune management. And still when i changed policy from portal , it would not affect to my application.