Detect when apps are managed in iOS and allow them in Conditional Access

%3CLINGO-SUB%20id%3D%22lingo-sub-1068819%22%20slang%3D%22en-US%22%3EDetect%20when%20apps%20are%20managed%20in%20iOS%20and%20allow%20them%20in%20Conditional%20Access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1068819%22%20slang%3D%22en-US%22%3E%3CP%3EHere%20is%20my%20scenario%2C%20we%20want%20to%20allow%20our%20users%20to%20use%20some%20specialized%20apps%20such%20as%20AutoCAD%20or%20ArcGIS%20to%20access%20OneDrive%20files%20on%20managed%20iOS%20devices%2C%20but%20we%20want%20to%20ensure%20that%20the%20app%20the%20users%20are%20using%20are%20in%20the%20%22Managed%20area%22%20of%20their%20iOS%20device.%20This%20means%20the%20app%20needs%20to%20be%20installed%20from%20the%20App%20store%20in%20the%20Intune%20Company%20Portal%20app%2C%20however%20we%20see%20instances%20where%20users%20are%20downloading%20the%20app%20from%20the%20public%20app%20store.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20me%20there%20are%20two%20approaches%20I%20can%20take%3A%3C%2FP%3E%3CP%3E1.%20Detect%20when%20one%20of%20these%20apps%20is%20installed%20from%20the%20app%20store%20and%20then%20force%20the%20installation%20from%20the%20Company%20App%20store.%20Is%20this%20possible%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20Create%20an%20App%20Configuration%20for%20the%20app%2C%20which%20only%20gets%20applied%20when%20the%20app%20is%20installed%20from%20the%20Company%20App%20store%2C%20and%20then%20use%20Conditional%20Access%20to%20detect%20this%20setting.%20Is%20this%20possible%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOr%20perhaps%20there%20is%20another%20way%20to%20achieve%20what%20I%20am%20looking%20for%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1068819%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EiOS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMobile%20Device%20Management%20(MDM)%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1069926%22%20slang%3D%22en-US%22%3ERe%3A%20Detect%20when%20apps%20are%20managed%20in%20iOS%20and%20allow%20them%20in%20Conditional%20Access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1069926%22%20slang%3D%22en-US%22%3EThere%20is%20no%20difference%20if%20you%20install%20apps%20from%20the%20company%20portal%20or%20through%20the%20app%20store.%20The%20Company%20Portal%20links%20back%20to%20the%20Public%20App%20Store.%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20want%20AutoCAD%2FArcGIS%20to%20be%20in%20the%20container%2C%20the%20apps%20themself%20need%20to%20support%20this%20feature.%20Here%20you%20can%20find%20an%20overview%20of%20the%20apps%20that%20support%20App%20Protection%20Policies%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fintune%2Fapps%2Fapps-supported-intune-apps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fintune%2Fapps%2Fapps-supported-intune-apps%3C%2FA%3E.%20As%20AutoCAD%2FArcGIS%20are%20not%20listed%20there%2C%20there%20is%20no%20way%20of%20managing%20these%20apps.%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20could%20create%20an%20exemption.%20this%20means%20that%20Onedrive%20can%20share%20data%20outside%20the%20comtainer%20to%20only%20AutoCAD%20%26amp%3B%20ArcGIS%20apps.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1100231%22%20slang%3D%22en-US%22%3ERe%3A%20Detect%20when%20apps%20are%20managed%20in%20iOS%20and%20allow%20them%20in%20Conditional%20Access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1100231%22%20slang%3D%22en-US%22%3E%3CP%3EI%20think%20I%20finally%20found%20a%20solution%2C%20or%20at%20least%20a%20way%20to%20achieve%20what%20I%20want.%20In%20the%20iOS%20Compliance%20Policy%20there%20is%20an%20area%20where%20you%20can%20list%20%22Restricted%20Apps.%22%20So%20as%20I%20test%20I%20added%20the%20Workday%20app%20to%20the%20list%20of%20restricted%20app%20in%20my%20compliance%20policy%2C%20then%20on%20my%20test%20device%20I%20downloaded%20the%20Workday%20app%20from%20the%20Apple%20App%20Store.%20As%20expected%20my%20device%20was%20no%20longer%20compliant%2C%20and%20the%20reason%20in%20the%20Comp%20Portal%20app%20was%20because%20I%20had%20the%20Workday%20app%20installed.%20Then%20I%20went%20to%20the%20App%20Store%20in%20the%20Comp%20Portal%20app%20and%20installed%20the%20%22Managed%22%20version%20of%20the%20Workday%20app.%20Once%20it%20finished%20installing%20I%20check%20the%20device%20settings%20again%20and%20synced%20the%20device%20from%20the%20Intune%20portal%3B%20the%20device%20was%20now%20compliant.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20470px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F164650iF1C01BB5A2EE4F44%2Fimage-dimensions%2F470x181%3Fv%3D1.0%22%20width%3D%22470%22%20height%3D%22181%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20doesn't%20automatically%20install%20the%20app%2C%20but%20does%20allow%20my%20to%20detect%20the%20apps%20and%20make%20the%20users%20remedy%20the%20issue.%20The%20Microsoft%20documentation%20doesn't%20explicitly%20say%20this%20is%20how%20it%20works%2C%20but%20it%20definitely%20seems%20to%20work%20for%20my%20scenario.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20thought%20I%20would%20share%20in%20case%20someone%20else%20comes%20across%20this%20scenario.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1652951%22%20slang%3D%22en-US%22%3ERe%3A%20Detect%20when%20apps%20are%20managed%20in%20iOS%20and%20allow%20them%20in%20Conditional%20Access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1652951%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20mentioned%20by%20Thijs%20earlier%20in%20this%20thread%2C%20installing%20the%20application%20from%20the%20Company%20Portal%20will%20still%20not%20make%20it%20managed.%20Managed%20applications%20needs%20to%20support%20the%20Microsoft%20Application%20Protection%20Policies%20protocol%20to%20in%20fact%20be%20managed%20and%20live%20in%20the%20%22managed%20container%22%20where%20you%20can%20restrict%20how%20applications%20talk%20with%20other%20applications.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20if%20you%20want%20to%20ensure%20that%20your%20users%20are%20using%20a%20version%20of%20the%20application%20from%20the%20Company%20Portal%20(maybe%20you%20bought%20them%20using%20VPP)%2C%20have%20you%20considered%20making%20the%20application%20required%20as%20assignment%20type%3F%3C%2FP%3E%3CP%3EThis%20will%20enforce%20installation%20(with%20prompt%20if%20not%20enrolled%20using%20Apple%20ADE).%20You%20could%20target%20this%20at%20a%20specific%20user%2Fdevice%20group%20if%20not%20all%20your%20users%20should%20have%20the%20application.%20This%20still%20doesn't%20solve%20your%20original%20problem%20with%20keeping%20data%20in%20the%20enterprise%20container%20since%20it's%20still%20not%20a%20managed%20application%20in%20that%20sense.%20Then%20you%20could%20make%20an%20exception%20in%20the%20APP%20rule%20for%20OneDrive%20saying%20that%20those%20applications%20can%20receive%20data.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EBut%20without%20proper%20support%20in%20the%20applications%2C%20I%20would%20say%20that%20this%20is%20as%20close%20as%20you%20can%20get%20at%20this%20point.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Here is my scenario, we want to allow our users to use some specialized apps such as AutoCAD or ArcGIS to access OneDrive files on managed iOS devices, but we want to ensure that the app the users are using are in the "Managed area" of their iOS device. This means the app needs to be installed from the App store in the Intune Company Portal app, however we see instances where users are downloading the app from the public app store.

 

To me there are two approaches I can take:

1. Detect when one of these apps is installed from the app store and then force the installation from the Company App store. Is this possible?

 

2. Create an App Configuration for the app, which only gets applied when the app is installed from the Company App store, and then use Conditional Access to detect this setting. Is this possible?

 

Or perhaps there is another way to achieve what I am looking for?

2 Replies
Highlighted
There is no difference if you install apps from the company portal or through the app store. The Company Portal links back to the Public App Store.

If you want AutoCAD/ArcGIS to be in the container, the apps themself need to support this feature. Here you can find an overview of the apps that support App Protection Policies: https://docs.microsoft.com/en-us/intune/apps/apps-supported-intune-apps. As AutoCAD/ArcGIS are not listed there, there is no way of managing these apps.

You could create an exemption. this means that Onedrive can share data outside the comtainer to only AutoCAD & ArcGIS apps.
Highlighted

I think I finally found a solution, or at least a way to achieve what I want. In the iOS Compliance Policy there is an area where you can list "Restricted Apps." So as I test I added the Workday app to the list of restricted app in my compliance policy, then on my test device I downloaded the Workday app from the Apple App Store. As expected my device was no longer compliant, and the reason in the Comp Portal app was because I had the Workday app installed. Then I went to the App Store in the Comp Portal app and installed the "Managed" version of the Workday app. Once it finished installing I check the device settings again and synced the device from the Intune portal; the device was now compliant. 

 

clipboard_image_0.png

 

This doesn't automatically install the app, but does allow my to detect the apps and make the users remedy the issue. The Microsoft documentation doesn't explicitly say this is how it works, but it definitely seems to work for my scenario.

 

Just thought I would share in case someone else comes across this scenario.