SOLVED

Change DEP User affinity

%3CLINGO-SUB%20id%3D%22lingo-sub-1724002%22%20slang%3D%22en-US%22%3EChange%20DEP%20User%20affinity%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1724002%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3EI've%20a%20question%20about%20IOS%20%26amp%3B%20DEP%20profiles%20in%20Intune.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EAt%20a%20customer%2C%20we've%20a%20lot%20of%20iPhones%20(with%20DEP)%20enrolled%20in%20our%20organization.%20Now%20we've%20implement%20MFA%20and%20it's%20not%20possible%20to%20enroll%20the%20devices%20because%20the%20MFA%20is%20showing%20up.%3C%2FP%3E%3CP%3EI%20found%20in%20another%20blog%20that%20it%20happens%20because%20we've%20set%20the%20enroll%20profile%20is%20set%20on%3A%3C%2FP%3E%3CP%3E%22Enroll%20without%20User%20Affinity%22.%20That%20should%20be%20changed%20to%26nbsp%3B%22Enroll%20with%20User%20Affinity%22.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EMy%20Question%20is%2C%20when%20we%20change%20this%2C%20what%20will%20happen%20with%20all%20the%20devices%20we've%20already%20enrolled%3F%20Will%20they%20hit%20by%20this%20change%3F%20If%20Yes%2C%20what%20will%20be%20happen%20on%20the%20already%20enrolled%20devices%3F%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThanks%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1724002%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%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-1724306%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20DEP%20User%20affinity%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1724306%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F232464%22%20target%3D%22_blank%22%3E%40Dennis%20Blotenburg%3C%2FA%3E%26nbsp%3BThis%20will%20only%20have%20an%20impact%20on%20new%20enrollments%20after%20factory%20reset%20for%20example.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20suggest%20creating%20a%20new%20profile%20and%20test%20your%20configuration%20on%20a%20single%20device%20first.%3C%2FP%3E%3CP%3ESwitching%20to%20%22%3CSPAN%3EEnroll%20with%20User%20Affinity%22%20will%20not%20bypass%20MFA%20tho.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ECheck%20out%20this%20blogpost%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fbloggerz.cloud%2F2020%2F02%2F16%2Fmfa-and-other-caveats-with-intune-mdm-automatic-enrollment-methods%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMFA%20and%20other%20caveats%20with%20Intune%20MDM%20automatic%20enrollment%20methods%20-%20Bloggerz.cloud%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1724538%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20DEP%20User%20affinity%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1724538%22%20slang%3D%22en-US%22%3EThanks%20Jan%2C%20I%20will%20give%20that%20a%20try!%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi all,

I've a question about IOS & DEP profiles in Intune.


At a customer, we've a lot of iPhones (with DEP) enrolled in our organization. Now we've implement MFA and it's not possible to enroll the devices because the MFA is showing up.

I found in another blog that it happens because we've set the enroll profile is set on:

"Enroll without User Affinity". That should be changed to "Enroll with User Affinity".


My Question is, when we change this, what will happen with all the devices we've already enrolled? Will they hit by this change? If Yes, what will be happen on the already enrolled devices?


Thanks in advance.

4 Replies
Highlighted
Best Response confirmed by Dennis Blotenburg (New Contributor)
Solution

@Dennis Blotenburg This will only have an impact on new enrollments after factory reset for example. 

 

I would suggest creating a new profile and test your configuration on a single device first.

Switching to "Enroll with User Affinity" will not bypass MFA tho.

 

Check out this blogpost: MFA and other caveats with Intune MDM automatic enrollment methods - Bloggerz.cloud

Highlighted
Thanks Jan, I will give that a try!
Highlighted

@Dennis Blotenburg

 

If you have MFA enforced for your tenant, use the following settings for the enrollment profile:

User Affinity: Enroll with User Affinity

Select where users must authenticate: Company Portal

 

You can have the end-user manually install Company Portal, or you can setup VPP and include it in the enrollment profile as well.

 

There are ways to bypass the enforced MFA using Conditional Access so that you can use Setup Assistant, but it may be different for every organization. HINT: Authentication using Setup Assistant does not reach the Microsoft Intune and Microsoft Intune Enrollment cloud apps first.

Highlighted

Hi @Dennis Blotenburg,

 

As mentioned by @eglockling you can bypass MFA during Setup Assistant enrollment with Conditional Access by excluding Microsoft Intune Enrollment and Microsoft Intune cloud apps.

 

In addition if you have Conditional Access policies where you have selected browser in client apps even if it just points to Windows or any other platform and require MFA you have to exclude the two cloud apps here as well. You have to do that because when authenticating in setup assistant you are doing a browser based authentication.