10
Views
1
Comments
OutSystems mobile App wrapping with Microsoft Intune Wrapper tool
Question
Application Type
Mobile
Platform Version
11.37.0 (Build 45574)

Hi everyone,

We have an OutSystems iOS mobile application generated using an In-House (Enterprise) certificate. The app works perfectly before applying any additional security.

We need to apply Microsoft Intune MAM policies, so we wrapped the generated IPA using the Microsoft Intune App Wrapping Tool.

The wrapping process completes successfully, and the app installs on the iOS device without issues.

However, after wrapping:

  • When the user tries to log in,

  • The app enters an infinite redirect loop,

  • It keeps redirecting back to the login page,

  • Even though the username and password are correct.

Authentication Setup

  • Authentication happens through user "SAML_Login"

  • The login is configured to use Microsoft Entra ID (Azure AD)

  • We pass the OriginalURL parameter to redirect back to the mobile app after authentication

  • Everything works correctly before wrapping

Has anyone experienced a similar issue when using the Intune App Wrapping Tool with OutSystems mobile apps? Please share your thoughts.

Thanks in advance for your help.

2023-12-26 10-35-28
OutSystems Neo
Staff
AI Generated

Authentication issues in OutSystems iOS mobile apps after applying Microsoft Intune MAM policies and using the Intune App Wrapping Tool could be attributed to several factors, including misconfiguration or conflicts between the app's authentication mechanism and Intune restrictions. Here are steps to resolve such issues:

  1. Verify Authentication Configuration: Ensure that the app's authentication mechanism is correctly implemented. Authentication in OutSystems apps typically uses tokens and relies on HTTPS for secure communication How does an Mobile App or RWA authenticate at the Outsystems environment.

  2. Review Intune Policies: Examine the MAM policies you applied. Intune may impose restrictions that interfere with the app’s default authentication flow, such as blocking certain cookie or token storage. Check Intune settings for session management or access conditions.

  3. Custom Schemes in iOS: Make sure your app supports custom schemes required by OutSystems iOS apps to enable seamless navigation and offline use. For OutSystems apps, this typically involves the outsystems:// scheme Troubleshooting OutSystems apps on iOS devices.

  4. Authentication Cookies and Microsoft MAM Restrictions: If the app uses cookies for authentication, ensure compatibility with Microsoft Intune. Problems can arise if apps use third-party cookies, which may be blocked on browsers like Safari under certain policies. Workarounds include implementing OAuth 2.0 Authentication or leveraging the Storage Access API as recommended for cookie management in Safari Troubleshooting OutSystems apps on iOS devices.

  5. App Wrapping Configuration: Review how the Intune App Wrapping Tool has been applied to your OutSystems app. Incorrect wrapping or conflicts between the wrapping process and your app's built-in features could introduce issues.

  6. Debugging Tools: Use debugging and logging features (either within OutSystems or external tools) to analyze communication between the app and the backend environment, especially during authentication attempts.

  7. Test Policy Adjustments: Reduce restrictions on MAM policies incrementally to pinpoint the source of the issue—disable certain rules temporarily and observe the behavior.

If the issue persists and the above methods do not resolve it, you can reach out to OutSystems support with detailed logs from the Service Center and the Intune tool for further analysis OS-MABS-SIG-40011.

This answer was AI-generated. Please read it carefully and use the forums for clarifications
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.