MAM policy targeting unmanaged devices is affecting managed ios device

%3CLINGO-SUB%20id%3D%22lingo-sub-2114154%22%20slang%3D%22en-US%22%3EMAM%20policy%20targeting%20unmanaged%20devices%20is%20affecting%20managed%20ios%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2114154%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20created%20my%20first%20App%20Protection%20Policy%2C%20in%20an%20effort%20to%20gain%20some%20control%20over%20what%20users%20can%20do%20with%20company%20apps%20%26amp%3B%20data%20on%20personal%20devices.%26nbsp%3B%20I%20set%20the%20policy%20to%20target%20apps%20on%20unmanaged%20devices%2C%20and%20assigned%20the%20policy%20to%20my%20own%20user%20account%20for%20testing.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20intent%20was%20to%20install%20apps%20and%20sign%20in%20on%20an%20unmanaged%20device%20to%20confirm%20the%20policy%20applied%20as%20expected%2C%20but%20I%20soon%20discovered%20that%20the%20targeted%20apps%20on%20my%20main%20iphone%20(which%20is%20already%20managed)%20were%20affected%20by%20the%20policy.%26nbsp%3B%20I%20got%20the%20notification%20that%20my%20company%20was%20managing%20my%20data%20for%20the%20app%20and%20was%20required%20to%20set%20up%20a%20PIN%20and%20enter%20that%20when%20launching%20the%20app.%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EMy%20expectation%20was%20that%20the%20policy%20would%20not%20be%20applied%20to%20or%20have%20any%20effect%20on%20managed%20devices.%26nbsp%3B%20Did%20I%20misunderstand%20something%20about%20how%20these%20settings%20should%20work%2C%20or%20is%20there%20something%20I%20may%20have%20done%20wrong%20in%20the%20configuration%20which%20would%20cause%20the%20policy%20to%20apply%20on%20a%20managed%20device%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2114154%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMobile%20Application%20Management%20(MAM)%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-2120932%22%20slang%3D%22en-US%22%3ERe%3A%20MAM%20policy%20targeting%20unmanaged%20devices%20is%20affecting%20managed%20ios%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2120932%22%20slang%3D%22en-US%22%3EThanks%2C%20that%20looks%20like%20it%20may%20have%20been%20the%20issue.%20I%20did%20see%20mention%20of%20that%20setting%20in%20the%20documentation%2C%20but%20wasn't%20clear%20on%20how%20to%20set%20it.%20I%20assumed%20since%20I%20was%20using%20the%20templated%20configuration%20builder%20for%20outlook%2C%20that%20it%20would%20have%20included%20all%20the%20necessary%20settings.%20Thanks%20to%20your%20post%20though%2C%20I%20found%20this%20blog%20post%20which%20explained%20the%20setting%20a%20bit%20more%20clearly%20to%20me.%20Though%2C%20I%20see%20now%20looking%20at%20the%20docs%20again%20it%20also%20mentions%20an%20IntuneMAMDeviceID%20setting%2C%20while%20the%20blog%20post%20made%20no%20mention%20of%20that.%20It%20says%20that's%20required%20for%20third%20party%20and%20lob%20apps%20though%2C%20so%20I%20guess%20it's%20not%20needed%20for%20MS%20apps%3F%20%C2%AF%5C_(%E3%83%84)_%2F%C2%AF%3CBR%20%2F%3EIt%20seems%20odd%20that%20they%20would%20give%20you%20a%20drop%20down%20to%20select%20managed%2Funmanaged%2Fall%20in%20the%20app%20protection%20policy%2C%20but%20then%20require%20a%20separate%20app%20configuration%20policy%20to%20add%20a%20setting%20needed%20to%20make%20that%20drop%20down%20work.%20The%20tool%20tip%20should%20explicitly%20state%20that%20additional%20configuration%20is%20required%20to%20make%20that%20drop%20down%20work%20as%20expected.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2119899%22%20slang%3D%22en-US%22%3ERe%3A%20MAM%20policy%20targeting%20unmanaged%20devices%20is%20affecting%20managed%20ios%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2119899%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F27877%22%20target%3D%22_blank%22%3E%40Steve%20Whitcher%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20have%20to%20configure%20the%20IntuneMamUPN%20setting%20for%20all%20the%20IOS%20apps.%20Otherwise%2C%20the%20apps%20won't%20know%20the%20difference%20if%20they%20are%20managed%20or%20unmanaged.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20don't%20specify%20this%20setting%2C%20unmanaged%20is%20the%20default.%20So%20even%20when%20your%20device%20is%20enrolled%2Fcompliant%20it%20will%20get%20the%20unmanaged%20app%20protection%20policies.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fintune%2Fapps%2Fapp-protection-policies%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECreate%20and%20deploy%20app%20protection%20policies%20-%20Microsoft%20Intune%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2119306%22%20slang%3D%22en-US%22%3ERe%3A%20MAM%20policy%20targeting%20unmanaged%20devices%20is%20affecting%20managed%20ios%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2119306%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F27877%22%20target%3D%22_blank%22%3E%40Steve%20Whitcher%3C%2FA%3E%26nbsp%3BI%20would%20suggest%26nbsp%3B%20try%20and%20reproduce%20it%20on%20another%20%22Managed%22%20iOS%20device%20to%20see%20if%20app%20protection%20policy%20is%20applying%20again.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2119298%22%20slang%3D%22en-US%22%3ERe%3A%20MAM%20policy%20targeting%20unmanaged%20devices%20is%20affecting%20managed%20ios%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2119298%22%20slang%3D%22en-US%22%3EStrike%20that%20-%20It%20seems%20that%20the%20managed%20device%20was%20on%20that%20list%2C%20the%20name%20just%20wasn't%20updating%20for%20some%20reason.%3CBR%20%2F%3EI%20decided%20to%20send%20a%20wipe%20request%20for%20the%20'iPhone'%20that%20did%20not%20get%20renamed.%20After%20submitting%20the%20request%2C%20the%20wipe%20request%20screen%20showed%20my%20various%20apps%20and%20showed%20the%20device%20name%20as%20the%20correct%2C%20updated%20name%20of%20my%20managed%20device.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2119277%22%20slang%3D%22en-US%22%3ERe%3A%20MAM%20policy%20targeting%20unmanaged%20devices%20is%20affecting%20managed%20ios%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2119277%22%20slang%3D%22en-US%22%3ENo%2C%20the%20managed%20device%20does%20not%20show%20up%20under%20my%20user%20on%20the%20Create%20Wipe%20Request%20screen.%26nbsp%3B%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2119271%22%20slang%3D%22en-US%22%3ERe%3A%20MAM%20policy%20targeting%20unmanaged%20devices%20is%20affecting%20managed%20ios%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2119271%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F27877%22%20target%3D%22_blank%22%3E%40Steve%20Whitcher%3C%2FA%3E%26nbsp%3Bis%20it%20showing%20the%20iOS%20device%20that%20is%20%22Managed%22%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2117738%22%20slang%3D%22en-US%22%3ERe%3A%20MAM%20policy%20targeting%20unmanaged%20devices%20is%20affecting%20managed%20ios%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2117738%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F223446%22%20target%3D%22_blank%22%3E%40Pa_D%3C%2FA%3E%26nbsp%3BAfter%20changing%20the%20name%20on%20both%20devices%2C%20one%20of%20the%20two%20'iPhone'%20entries%20on%20that%20screen%20updated%2C%20while%20the%20other%20still%20says%20'iPhone'.%26nbsp%3B%20I'm%20assuming%20the%20one%20that%20didn't%20update%20must%20be%20an%20old%20phone%2C%20not%20my%20current%20one.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2116001%22%20slang%3D%22en-US%22%3ERe%3A%20MAM%20policy%20targeting%20unmanaged%20devices%20is%20affecting%20managed%20ios%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2116001%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F223446%22%20target%3D%22_blank%22%3E%40Pa_D%3C%2FA%3E%26nbsp%3BGood%20question.%26nbsp%3B%20I%20show%203%20devices%20in%20that%20screen%2C%20one%20of%20which%20is%20an%20old%20PC%20and%20can%20be%20ruled%20out.%26nbsp%3B%20The%20other%202%20are%20unfortunately%20just%20named%20iPhone%20at%20the%20moment%2C%20so%20I%20can't%20say%20for%20sure.%26nbsp%3B%20I'll%20rename%20the%20devices%20and%20check%20again%20after%20it%20updates.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2115965%22%20slang%3D%22en-US%22%3ERe%3A%20MAM%20policy%20targeting%20unmanaged%20devices%20is%20affecting%20managed%20ios%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2115965%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F27877%22%20target%3D%22_blank%22%3E%40Steve%20Whitcher%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20try%20this%20and%20see%20if%20both%20your%20managed%20%26amp%3B%20unmanaged%20device%20shows%20up.%3C%2FP%3E%3CP%3EApps%20%26gt%3B%20App%20Selective%20wipe%20%26gt%3B%20choose%20your%20user%20name%20and%20see%20if%20both%20devices%20shows%20up.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2115308%22%20slang%3D%22en-US%22%3ERe%3A%20MAM%20policy%20targeting%20unmanaged%20devices%20is%20affecting%20managed%20ios%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2115308%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F223446%22%20target%3D%22_blank%22%3E%40Pa_D%3C%2FA%3E%26nbsp%3BYes%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mam.png%22%20style%3D%22width%3A%20426px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F252634i0FB67BD939DD68C3%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mam.png%22%20alt%3D%22mam.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2114897%22%20slang%3D%22en-US%22%3ERe%3A%20MAM%20policy%20targeting%20unmanaged%20devices%20is%20affecting%20managed%20ios%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2114897%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F27877%22%20target%3D%22_blank%22%3E%40Steve%20Whitcher%3C%2FA%3E%26nbsp%3B%20in%20the%20app%20protection%20policy%20%26gt%3B%20%22Target%20to%20all%20device%20types%22%20set%20to%20%22No%22%20and%20%22Device%20Type%22%20selected%20to%20%22Unmanaged%22%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2167732%22%20slang%3D%22en-US%22%3ERe%3A%20MAM%20policy%20targeting%20unmanaged%20devices%20is%20affecting%20managed%20ios%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2167732%22%20slang%3D%22en-US%22%3EWas%20this%20always%20the%20case%3F%20I'm%20almost%20sure%20I've%20used%20this%20previously%20without%20having%20to%20set%20the%20app%20settings%20on%20iOS%20enrolled%20devices.%3CBR%20%2F%3EWould%20be%20nice%20if%20there%20was%20a%20setting%20to%20enable%20the%20IntuneMAMUPN%20for%20all%20apps%20targetted%20by%20an%20app%20protection%20policy.......%3CBR%20%2F%3EI%20think%20I'll%20go%20add%20a%20feature%20request.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2167763%22%20slang%3D%22en-US%22%3ERe%3A%20MAM%20policy%20targeting%20unmanaged%20devices%20is%20affecting%20managed%20ios%20device%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2167763%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Fmicrosoftintune.uservoice.com%2Fforums%2F291681-ideas%2Fsuggestions%2F42782339-app-targetted-apps-applies-intinemamupn-option%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmicrosoftintune.uservoice.com%2Fforums%2F291681-ideas%2Fsuggestions%2F42782339-app-targetted-apps-applies-intinemamupn-option%3C%2FA%3E%3C%2FLINGO-BODY%3E
Regular Contributor

I've created my first App Protection Policy, in an effort to gain some control over what users can do with company apps & data on personal devices.  I set the policy to target apps on unmanaged devices, and assigned the policy to my own user account for testing.  

 

My intent was to install apps and sign in on an unmanaged device to confirm the policy applied as expected, but I soon discovered that the targeted apps on my main iphone (which is already managed) were affected by the policy.  I got the notification that my company was managing my data for the app and was required to set up a PIN and enter that when launching the app.  

My expectation was that the policy would not be applied to or have any effect on managed devices.  Did I misunderstand something about how these settings should work, or is there something I may have done wrong in the configuration which would cause the policy to apply on a managed device? 

 

13 Replies

@Steve Whitcher  in the app protection policy > "Target to all device types" set to "No" and "Device Type" selected to "Unmanaged" ?

@Pa_D Yes

 
 
 
 
 
 
 
 
 

mam.png

 
 

 

 

@Steve Whitcher 

Can try this and see if both your managed & unmanaged device shows up.

Apps > App Selective wipe > choose your user name and see if both devices shows up.

@Pa_D Good question.  I show 3 devices in that screen, one of which is an old PC and can be ruled out.  The other 2 are unfortunately just named iPhone at the moment, so I can't say for sure.  I'll rename the devices and check again after it updates. 

@Pa_D After changing the name on both devices, one of the two 'iPhone' entries on that screen updated, while the other still says 'iPhone'.  I'm assuming the one that didn't update must be an old phone, not my current one.  

 

 

@Steve Whitcher is it showing the iOS device that is "Managed"?

No, the managed device does not show up under my user on the Create Wipe Request screen. 
Strike that - It seems that the managed device was on that list, the name just wasn't updating for some reason.
I decided to send a wipe request for the 'iPhone' that did not get renamed. After submitting the request, the wipe request screen showed my various apps and showed the device name as the correct, updated name of my managed device.

@Steve Whitcher I would suggest  try and reproduce it on another "Managed" iOS device to see if app protection policy is applying again.

@Steve Whitcher 

 

You have to configure the IntuneMamUPN setting for all the IOS apps. Otherwise, the apps won't know the difference if they are managed or unmanaged.

 

If you don't specify this setting, unmanaged is the default. So even when your device is enrolled/compliant it will get the unmanaged app protection policies. 

 

Create and deploy app protection policies - Microsoft Intune | Microsoft Docs

 

 

Thanks, that looks like it may have been the issue. I did see mention of that setting in the documentation, but wasn't clear on how to set it. I assumed since I was using the templated configuration builder for outlook, that it would have included all the necessary settings. Thanks to your post though, I found this blog post which explained the setting a bit more clearly to me. Though, I see now looking at the docs again it also mentions an IntuneMAMDeviceID setting, while the blog post made no mention of that. It says that's required for third party and lob apps though, so I guess it's not needed for MS apps? ¯\_(ツ)_/¯
It seems odd that they would give you a drop down to select managed/unmanaged/all in the app protection policy, but then require a separate app configuration policy to add a setting needed to make that drop down work. The tool tip should explicitly state that additional configuration is required to make that drop down work as expected.
Was this always the case? I'm almost sure I've used this previously without having to set the app settings on iOS enrolled devices.
Would be nice if there was a setting to enable the IntuneMAMUPN for all apps targetted by an app protection policy.......
I think I'll go add a feature request.