How to Integrate Microsoft Intune MAM with Your iOS App

Rahul verma
Simpplr Technology
4 min readMar 14, 2023

--

As mobile applications continue to become increasingly popular for business use, security measures are necessary to protect sensitive data accessed through mobile apps. Microsoft Intune MAM (Mobile Application Management) is an effective tool for securing mobile apps and data. In this article, we’ll walk you through the steps of integrating Microsoft Intune MAM with your iOS app.

Microsoft Intune Mobile Application Management (MAM) is a cloud-based solution that helps organizations manage and secure their mobile apps and data. With Intune MAM, you can apply app-level policies to control app access, protect corporate data, and manage app configurations on users’ devices. You can read more about MAM and MDM here and here.

What is the Microsoft Intune App SDK for iOS?

The Microsoft Intune App SDK for iOS is a software development kit (SDK) that enables iOS app developers to integrate Intune MAM into their apps. The SDK provides a set of APIs that allow your app to communicate with the Intune service and apply app protection policies to your app. By integrating the Intune App SDK into your iOS app, you can ensure that your app is secure and compliant with your organization’s security policies.

What are the benefits of using the Microsoft Intune App SDK for iOS?

There are several benefits to using the Microsoft Intune App SDK for iOS, including:

  1. Data Protection: The Intune App SDK enables you to apply app protection policies to your app, such as data encryption, app-level PIN, and clipboard access control. This ensures that your app’s data is secure, even if the device is lost or stolen.
  2. Compliance: By integrating the Intune App SDK into your app, you can ensure that your app is compliant with your organization’s security policies. This includes policies such as data retention, data classification, and data handling.
  3. User Experience: The Intune App SDK allows you to apply app protection policies without impacting the user experience. Users can access the app and its data without needing to enter complex passwords or perform additional steps.
  4. Integration: The Intune App SDK integrates seamlessly with other Microsoft services, such as Azure Active Directory and Microsoft Endpoint Manager. This makes it easy to manage your app’s security policies and user access.

How does the Microsoft Intune App SDK for iOS work?

The Microsoft Intune App SDK for iOS works by providing a set of APIs that allow your app to communicate with the Intune service. These APIs enable you to apply app protection policies to your app, such as data encryption, app-level PIN, and clipboard access control. The Intune App SDK also provides a set of notification APIs that allow your app to receive notifications from the Intune service.

Implement the Intune App SDK in Your App
The intune SDK allows your app to communicate with the Intune service and apply the app protection policies, by following the below steps you can integrate it in your applciation.

Step 1: Install msal library from github

Go to — https://github.com/AzureAD/microsoft-authentication-library-for-objc
Follow the steps listed here to install msal library to your application.

Step 2: Follow the steps here to integrate msal library to your application.

Step 3: Register your app on azure portal

Step 4: You have to create group on admin portal here , on which you are intended to impose policies.

Step 5: Configure App Protection Policies

The next step is to configure app protection policies. These policies are designed to protect the data accessed through your app by applying specific security settings and access controls.

To configure app protection policies, go to the Microsoft Endpoint Manager admin center, navigate to Apps > App protection policies and click on the +Add button. From the drop-down menu, select “iOS/iPadOS policy.”

Enter the basic information for your policy, such as the name and description. Then, configure the specific settings for your policy, such as data encryption, app-level PIN, and clipboard access.

Once you’ve configured all the necessary settings, click on the Save button to create the policy.

Step 6: On create policy page you have to select the custom app you have created on azure portal.

Step 7: You have to select included group as the group you are imposing policies on the user group -

Step 8: Compile and run your application and login with microsoft account, it will impose all the policies you have created from admin portal on your application.

Note: If you need any help here is the demo app for integrating the intune in your app.

Conclusion:

Congratulations! You’ve successfully integrated Microsoft Intune MAM with your iOS app. By leveraging Intune’s policies and SDK, you’ve taken a major step towards securing your app’s data and preventing unauthorized access.

We hope that this guide has been helpful in getting you started with Intune MAM. For more information, be sure to check out Microsoft’s documentation and support resources. Good luck with your app development efforts!

Thank you for taking the time to read my article. I greatly appreciate your interest and hope that it provided you with valuable insights. As a first-time Medium author, I am eager to hear your feedback and suggestions for improvement, as I am always looking to enhance my writing skills.

If you would like to get in touch with me, I would love to connect with you. Please feel free to reach out to me at vermarahul1454@gmail.com. I am always happy to engage in meaningful conversations with fellow writers and readers alike.

Once again, thank you for your support and for being a part of the Medium community. I look forward to hearing from you soon!

--

--

Rahul verma
Simpplr Technology

I'm Rahul Verma, an iOS developer with 3.5 yrs of experience. Follow me for insights on building better mobile apps and industry trends. #iOSDev #MobileApps