Managing Android devices using Microsoft Intune
Welcome to Microsoft Q&A
Hello Irfan Hossain,
The error you are encountering is not a bug; it is the expected behavior of an Intune App Protection Policy (MAM) restricting data transfer between managed and unmanaged applications.
When you attempt to use SSO in the Udemy app within the Android Work Profile, the authentication request is handed off to Microsoft Edge. Because Edge is a "Policy managed app," it successfully processes the login. However, when Edge attempts to pass the authentication token/callback URI back to Udemy, the Intune App Protection Policy intercepts and blocks the payload.
This occurs because Udemy is an unmanaged app (it is not enlightened with the Intune SDK), and the policy applied to Edge likely has the Send org data to other apps setting restricted to "Policy managed apps" only.
To allow the SSO token to pass back to Udemy without compromising the entire organization's data transfer policy, your Intune Administrator must add a data transfer exemption for the Udemy app.
- In the Intune Admin Center, navigate to Apps > App protection policies.
- Select the Android policy that is currently assigned to Microsoft Edge.
- Under the Data protection section, locate the Send org data to other apps setting.
- Keep the primary setting as "Policy managed apps," but click on Select apps to exempt.
- Add the Udemy Android package ID (e.g.,
com.udemy.android) to the exempt list and save the policy.
Image as an example;
Once the policy syncs to your device, Edge will be permitted to return the SSO payload to Udemy, completing the authentication flow.
😊 If my answer helped you resolve your issue, please consider marking it as the correct answer. This helps others in the community find solutions more easily. Thanks!