SOLVED
Home

How to exclude specific machines from Intune compliance policy?

%3CLINGO-SUB%20id%3D%22lingo-sub-168781%22%20slang%3D%22en-US%22%3EHow%20to%20exclude%20specific%20machines%20from%20Intune%20compliance%20policy%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-168781%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20need%20a%20few%20virtual%20machines%20to%20be%20excluded%20from%20the%20Intune%20compliance%20policy%2C%20I%20thought%20that%20the%20following%20setup%20would%20be%20sufficient%20to%20accomplish%20this%20and%20be%20able%20to%20access%20corporate%20data%20without%20the%20need%20to%20make%20these%20virtual%20machines%20compliant%20(they%20all%20have%20fixed%20IPs)%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20944px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F29851i709A7D3C6EE704B9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22intune.PNG%22%20title%3D%22intune.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUnfortunately%20this%20isn't%20working%20and%20I'm%20wondering%20how%20could%20I%20exclude%20this%20machines%20from%20enrolment.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThank%20you%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIon%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-168781%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EConditional%20Access%3C%2FLINGO-LABEL%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-169727%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20exclude%20specific%20machines%20from%20Intune%20compliance%20policy%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-169727%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat%20update%20is%20spot%20on%2C%20thank%20you%20for%20the%20information%20Oliver.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIon%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-169399%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20exclude%20specific%20machines%20from%20Intune%20compliance%20policy%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-169399%22%20slang%3D%22en-US%22%3E%3CP%3EYes%20that's%20right%20Conditional%20Access%20(CA)%20will%20allow%20rules%20based%20on%20User%20groups%20only.%20The%20identity%20is%20what%20counts.%20A%20user%20needs%20access%20to%20corp%20data%20and%20therefore%20wants%20an%20access%20token.%20This%20will%20be%20provided%20only%20if%20you%20fulfill%20the%20CA%20requirements%20as%20set%20(e.g.%20require%20compliant%20device).%20So%20in%20your%20case%20you%20can%20only%20say%20enforce%20CA%20for%20all%20users%2C%20assign%20a%20compliance%20policy%20to%20the%20device%20group%20and%20then%20they%20get%20access.%20There%20will%20be%20a%20change%20(currently%20in%20rollout)%20in%20Intune%20which%20basically%20treats%20all%20devices%20without%20compliance%20policy%20as%20non-compliant.%20See%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fintunesupport%2F2018%2F02%2F09%2Fupdated-upcoming-security-enhancements-in-the-intune-service%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Fintunesupport%2F2018%2F02%2F09%2Fupdated-upcoming-security-enhancements-in-the-intune-service%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EWith%20this%20you%20could%20build%20your%20CA%20policy%20to%20allow%20only%20compliant%20devices%2C%20assign%20the%20compliance%20policy%20to%20your%20device%20group%20and%20all%20others%20are%20treated%20as%20non-compliant%20and%20will%20not%20get%20access%20to%20the%20corp%20resources.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDo%20you%20get%20the%20idea%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ebest%2C%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-169379%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20exclude%20specific%20machines%20from%20Intune%20compliance%20policy%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-169379%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Oliver%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20just%20occurred%20to%20me%3B%20since%20we%20have%20absolutely%20no%20connection%20between%20our%20on-premises%20infrastructure%20and%20our%20Azure%20and%20365%20users%20and%20devices%20(thus%20not%20using%20%3CSPAN%3EHybrid%20Azure%20AD)%3C%2FSPAN%3E%2C%20I%20believe%20this%20path%20isn't%20going%20to%20work%20either.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20can%20create%20a%20group%20(or%20groups)%20and%20add%20all%20of%20our%20company%20own%20devices%20there%20to%20then%20force%20compliance%20upon%20it.%20However%2C%20I%20see%20no%20policies%20within%20conditional%20access%20that%20will%20allow%26nbsp%3Bme%20to%20deny%20access%20to%20company%20data%20to%20any%20device%20outside%20of%20that%20hypothetical%20group.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIon%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-169310%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20exclude%20specific%20machines%20from%20Intune%20compliance%20policy%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-169310%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Ion%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Esure%20no%20problem.%20Another%20effect%20to%20mention%20when%20using%20device%20assignment%20is%2C%20that%20it%20might%20take%20long%20to%20apply.%20Imagine%20the%20situation.%20Using%20Windows%2010%20and%20OOBE%20%2B%20AAD%20join%20%2B%20Intune%20auto%20enrollment.%20Then%20the%20device%20is%20not%20instantly%20available%20and%20needs%20to%20be%20registered%20first%20by%20the%20enrollment%20process.%20This%20needs%20some%20time.%20Then%20the%20dynamic%20group%20needs%20some%20time%20to%20pick%20up%20the%20device%20and%20then%20the%20device%20must%20sync%20to%20get%20the%20new%20policy%20to%20evaluate.%20So%20it%20might%20be%20(depending%20on%20the%20scenario)%20that%20you%20face%20delays%20which%20might%20be%20a%20problem.%20For%20example%20when%20you%20have%20a%20conditional%20access%20policy%20which%20requires%20compliant%20devices%2C%20then%20the%20device%20needs%20some%20time%20to%20get%20compliant%20and%20as%20long%20as%20it%20is%20non-compliant%20it%20can't%20access%20corporate%20data%20protected%20by%20conditional%20access.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ebest%2C%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-169308%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20exclude%20specific%20machines%20from%20Intune%20compliance%20policy%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-169308%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Oliver%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20looks%20like%20I'm%20going%20to%20have%20to%20re-think%20how%20to%20approach%20this%20and%20adapt%20our%20desired%20outcome%20to%20using%20device%20groups%20to%20apply%20the%20policies%20then.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EMy%20thanks%20for%20your%20assistance%20on%20this%20matter.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EKind%20regards%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CBR%20%2F%3EIon%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-169296%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20exclude%20specific%20machines%20from%20Intune%20compliance%20policy%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-169296%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Ion%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20totally%20understand%20and%20agree%20that%20this%20would%20be%20great%20to%20have.%20User%20assignment%20and%20exclusion%20of%20devices.%20This%20would%20solve%20this%20problem%20and%20many%20more%20I%20think.%20I%20don't%20see%20any%20other%20solution%20than%20using%20device%20groups%20in%20total%20for%20compliance%20policy.%20Gather%20your%20devices%20via%20a%20dynamic%20group%20and%20assign%20the%20compliance%20policy.%20But%20there%20is%20another%20side%20effect%20if%20you%20assign%20users%20compliance%20policies%20and%20devices%20compliance%20policies.%20When%20a%20user%20is%20now%20target%20of%20a%20policy%20and%20his%20device%20also%2C%20the%20overall%20status%20of%20compliance%20policy%20is%20not%20calculated%20as%20an%20logical%20AND%20it's%20an%20logical%20OR.%20let%20me%20give%20an%20example%3A%3C%2FP%3E%0A%3CP%3Euser%20A%20-%26gt%3B%20user%20policy%20A%3C%2FP%3E%0A%3CP%3Euser%20A%20uses%20device%20A%20and%20has%20device%20policy%20B%3C%2FP%3E%0A%3CP%3Ethen%20it%20might%20be%20like%20this%3A%3C%2FP%3E%0A%3CP%3Euser%20policy%20A%20is%20evaluated%20as%20compliant%20and%20device%20policy%20B%20is%20evaluated%20as%20non-compliant.%20Now%20because%20of%20the%20logical%20OR%20the%20user%20will%20get%20IsCompliant%3DTrue%3C%2FP%3E%0A%3CP%3ESo%20mixing%20is%20not%20a%20great%20idea.%20At%20the%20moment%20we%20need%20to%20decide%20to%20go%20for%20user%20assignments%20or%20device%20assignments%20imho.%20this%20leads%20to%20various%20restrictions.%3C%2FP%3E%0A%3CP%3EBest%20way%20imho%20is%20to%20exclude%20them%20from%20the%20Conditional%20Access%20policy...%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ebest%2C%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-169295%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20exclude%20specific%20machines%20from%20Intune%20compliance%20policy%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-169295%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Ruud%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20for%20your%20reply.%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20looks%20like%20it%20might%20not%20be%20possible%20to%20exclude%20them%20(see%20Oliver's%20reply%20above).%20At%20the%20moment%20the%20way%20I'm%20trying%20to%20exclude%20this%20machines%20is%20by%20using%20their%20public%20IPs%2C%20which%20I%20understand%20should%20have%20the%20same%20effect%20(I've%20use%20them%20to%20exclude%20them%20from%20other%20policies%20in%20the%20past%20successfully).%3CBR%20%2F%3E%3CBR%20%2F%3EKind%20regards%2C%3CBR%20%2F%3E%3CBR%20%2F%3EIon%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-169294%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20exclude%20specific%20machines%20from%20Intune%20compliance%20policy%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-169294%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Oliver%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESorry%20if%20it%20wasn't%20very%20clear%2C%20but%20it%20is%20as%20you%20describe.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'm%20trying%20to%20exclude%20this%20machines%20from%20the%20c%3CSPAN%3Eompliance%20policy%20itself%2C%20but%20this%20policy%20applies%20to%20user%20groups.%20I%20was%20aware%20that%20the%20issue%20was%20here%2C%20but%20I%20was%20hoping%20there%20was%20a%20way%20to%20say%20%22with%20the%20exception%26nbsp%3Bof%20these%20machines%20regardless%20of%20the%20user%22%2C%20which%20I%20think%20it%20would%20be%20a%20very%20useful%20and%20sensible%20option%20to%20have.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI%20want%20users%20to%20be%20able%20to%20access%20corporate%20data%20as%20long%20as%20they%20are%20using%20a%20device%20under%20Intune's%20umbrella%2C%26nbsp%3Btherefor%20I'm%20applying%20the%20group%20policy%20to%20the%20users.%20This%20virtual%20machines%20are%20hosts%20to%20sessions%20that%20some%20of%20our%20users%20connect%20to%20and%20work%20from%20with%20the%20use%20of%20thin%20clients.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI%20understand%20it%20won't%20be%20possible%20to%20achieve%20this%20on%20this%20scenario%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThank%20you%2C%3CBR%20%2F%3E%3CBR%20%2F%3EIon%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-169278%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20exclude%20specific%20machines%20from%20Intune%20compliance%20policy%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-169278%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Ion%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eit's%20not%20really%20clear%20for%20me%20what%20you%20like%20to%20achieve%20from%20the%20description.%20Your%20screenshot%20shows%20the%20Conditional%20Access%20policy%20and%20you%20are%20talking%20about%20Compliance%20policy.%20Do%20you%20want%20to%20exclude%20devices%20from%20CA%20or%20from%20the%20Compliance%20policy%20itself%3F%20If%20you%20want%20to%20exclude%20from%20Compliance%20policy%20you%20need%20to%20be%20aware%20how%20the%20Compliance%20policy%20is%20assigned.%20If%20the%20Compliance%20policy%20is%20assigned%20to%20users%20than%20you%20can%20use%20the%20exclude%20feature%20only%20with%20user%20groups.%20If%20assigned%20to%20a%20device%20group%20the%20exclude%20can%20only%20contain%20device%20groups.%20You%20can't%20mix%20user%20and%20device%20groups%20when%20using%20include%2Fexclude%2C%20this%20is%20the%20current%20implementation%20and%20by%20design.%3C%2FP%3E%0A%3CP%3ERegarding%20your%20CA%20policy%20you%20need%20to%20specify%20IP%20ranges.%20To%20specify%20a%20single%20IP%20address%20you%20need%20to%20use%20192.168.1.1%2F32%2C%20the%20%2F32%20at%20the%20end%20is%20important%20to%20specify%20a%20single%20IP%20address.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHope%20this%20helps.%3C%2FP%3E%0A%3CP%3Ebest%2C%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-169266%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20exclude%20specific%20machines%20from%20Intune%20compliance%20policy%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-169266%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Ion%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECan%20you%20create%20a%20device%20group%20with%20the%20virtual%20machines%20and%20exclude%20the%20group%20from%20the%20Compliance%20Policy%3F%20See%20if%20that%20works%20like%20expected%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3ERuud%20Gijsbers%3C%2FP%3E%3C%2FLINGO-BODY%3E
Ion Zubia
Contributor

Hi,

 

I need a few virtual machines to be excluded from the Intune compliance policy, I thought that the following setup would be sufficient to accomplish this and be able to access corporate data without the need to make these virtual machines compliant (they all have fixed IPs):

 

intune.PNG

 

Unfortunately this isn't working and I'm wondering how could I exclude this machines from enrolment.

 

Thank you,

 

Ion

10 Replies

Hello Ion,

 

Can you create a device group with the virtual machines and exclude the group from the Compliance Policy? See if that works like expected?

 

Best regards,

Ruud Gijsbers

Highlighted

Hi Ion,

 

it's not really clear for me what you like to achieve from the description. Your screenshot shows the Conditional Access policy and you are talking about Compliance policy. Do you want to exclude devices from CA or from the Compliance policy itself? If you want to exclude from Compliance policy you need to be aware how the Compliance policy is assigned. If the Compliance policy is assigned to users than you can use the exclude feature only with user groups. If assigned to a device group the exclude can only contain device groups. You can't mix user and device groups when using include/exclude, this is the current implementation and by design.

Regarding your CA policy you need to specify IP ranges. To specify a single IP address you need to use 192.168.1.1/32, the /32 at the end is important to specify a single IP address.

 

Hope this helps.

best,

Oliver

Hi Oliver,

 

Sorry if it wasn't very clear, but it is as you describe.

 

I'm trying to exclude this machines from the compliance policy itself, but this policy applies to user groups. I was aware that the issue was here, but I was hoping there was a way to say "with the exception of these machines regardless of the user", which I think it would be a very useful and sensible option to have.

 

I want users to be able to access corporate data as long as they are using a device under Intune's umbrella, therefor I'm applying the group policy to the users. This virtual machines are hosts to sessions that some of our users connect to and work from with the use of thin clients. 

 

I understand it won't be possible to achieve this on this scenario?

 

Thank you,

Ion

Hi Ruud,

Thank you for your reply.

It looks like it might not be possible to exclude them (see Oliver's reply above). At the moment the way I'm trying to exclude this machines is by using their public IPs, which I understand should have the same effect (I've use them to exclude them from other policies in the past successfully).

Kind regards,

Ion

Solution

Hi Ion,

 

I totally understand and agree that this would be great to have. User assignment and exclusion of devices. This would solve this problem and many more I think. I don't see any other solution than using device groups in total for compliance policy. Gather your devices via a dynamic group and assign the compliance policy. But there is another side effect if you assign users compliance policies and devices compliance policies. When a user is now target of a policy and his device also, the overall status of compliance policy is not calculated as an logical AND it's an logical OR. let me give an example:

user A -> user policy A

user A uses device A and has device policy B

then it might be like this:

user policy A is evaluated as compliant and device policy B is evaluated as non-compliant. Now because of the logical OR the user will get IsCompliant=True

So mixing is not a great idea. At the moment we need to decide to go for user assignments or device assignments imho. this leads to various restrictions.

Best way imho is to exclude them from the Conditional Access policy...

 

best,

Oliver

Hi Oliver,

 

It looks like I'm going to have to re-think how to approach this and adapt our desired outcome to using device groups to apply the policies then.

 

My thanks for your assistance on this matter.

 

Kind regards,


Ion

Hi Ion,

 

sure no problem. Another effect to mention when using device assignment is, that it might take long to apply. Imagine the situation. Using Windows 10 and OOBE + AAD join + Intune auto enrollment. Then the device is not instantly available and needs to be registered first by the enrollment process. This needs some time. Then the dynamic group needs some time to pick up the device and then the device must sync to get the new policy to evaluate. So it might be (depending on the scenario) that you face delays which might be a problem. For example when you have a conditional access policy which requires compliant devices, then the device needs some time to get compliant and as long as it is non-compliant it can't access corporate data protected by conditional access.

 

best,

Oliver

Hi Oliver,

 

It just occurred to me; since we have absolutely no connection between our on-premises infrastructure and our Azure and 365 users and devices (thus not using Hybrid Azure AD), I believe this path isn't going to work either.

 

I can create a group (or groups) and add all of our company own devices there to then force compliance upon it. However, I see no policies within conditional access that will allow me to deny access to company data to any device outside of that hypothetical group.

 

Regards,

 

Ion

Yes that's right Conditional Access (CA) will allow rules based on User groups only. The identity is what counts. A user needs access to corp data and therefore wants an access token. This will be provided only if you fulfill the CA requirements as set (e.g. require compliant device). So in your case you can only say enforce CA for all users, assign a compliance policy to the device group and then they get access. There will be a change (currently in rollout) in Intune which basically treats all devices without compliance policy as non-compliant. See here: https://blogs.technet.microsoft.com/intunesupport/2018/02/09/updated-upcoming-security-enhancements-...

With this you could build your CA policy to allow only compliant devices, assign the compliance policy to your device group and all others are treated as non-compliant and will not get access to the corp resources.

 

Do you get the idea?

 

best,

Oliver

Hello,

 

That update is spot on, thank you for the information Oliver. 

 

Best regards,

 

Ion

 

 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies