Dynamic Device Groups and Scope Tags

%3CLINGO-SUB%20id%3D%22lingo-sub-1408839%22%20slang%3D%22en-US%22%3EDynamic%20Device%20Groups%20and%20Scope%20Tags%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1408839%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20an%20interesting%20requirement%2C%20and%20wondered%20if%20someone%20could%20clear%20something%20up%20for%20me.%26nbsp%3B%20I%20am%20working%20with%20a%20very%20large%20client%20(130%2C000%2B%20users)%20who%20are%20using%20scope%20tags%20extensively%20to%20delegate%20permissions%20to%20various%20OUs.%26nbsp%3B%20Each%20OU%20has%20their%20own%20ABM%2C%20MGP%20and%20KME%20instances%20for%20iOS%20and%20Android%2C%20and%20scope%20tags%20are%20applied%20to%20automatically%20enrolled%20devices%20according%20to%20which%20tag%20is%20set%20in%20the%20connectors%20%2F%20tokens.%26nbsp%3B%20Scope%20tags%20are%20also%20applied%20using%20device%20categories%2C%20but%20these%20obviously%20don't%20get%20applied%20until%20a%20user%20enrolls%20through%20company%20portal%20and%20selects%20the%20relevant%20category.%3C%2FP%3E%3CP%3EI%20need%20to%20create%20policies%20and%20configurations%20that%20apply%20to%20devices%20immediately%20after%20they%20register%2C%20but%20before%20they're%20user%20enrolled%2C%20and%20they%20must%20apply%20only%20to%20a%20specific%20OU's%20devices%2C%20not%20all%20devices%20in%20the%20tenant.%3C%2FP%3E%3CP%3EFrom%20everything%20I've%20read%2C%20scope%20tags%20cannot%20be%20used%20as%20a%20mechanism%20to%20assign%20policies%20to%20devices.%26nbsp%3B%20And%20I%20would%20agree%20from%20my%20experience%20that%20this%20is%20true%2C%20that%20scope%20tags%20%22alone%22%20can't%20be%20used%20to%20assign%20policies.%26nbsp%3B%20My%20question%20is%2C%20if%20I%20have%20a%20policy%20which%20is%20assigned%20to%20all%20devices%2C%20but%20it%20has%20a%20specific%20scope%20tag%20attached%20to%20it%2C%20will%20that%20policy%20only%20be%20applied%20to%20devices%20that%20have%20a%20matching%20tag%3F%26nbsp%3B%20All%20the%20literature%20points%20to%20scope%20tags%20being%20only%20relevant%20to%20RBAC.%26nbsp%3B%20But%2C%20this%20being%20the%20case%2C%20what%20is%20to%20stop%20a%20user%20in%20one%20OU%20creating%20an%20all%20devices%20policy%20which%20then%20impacts%20all%20other%20OUs%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEdit%3A%26nbsp%3B%20I%20have%20a%20supplementary%20question.%26nbsp%3B%20Does%20anyone%20know%20if%20it's%20possible%20to%20use%20scope%20tags%20in%20dynamic%20group%20filter%20expressions%3F%20I%20see%20that%20the%20device%20object%20class%20has%20a%20systemLabels%20attribute%2C%20but%20it's%20not%20clear%20from%20the%20documentation%20whether%20this%20contains%20the%20devices%20scope%20tags.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1408839%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-1413697%22%20slang%3D%22en-US%22%3ERe%3A%20Dynamic%20Device%20Groups%20and%20Scope%20Tags%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1413697%22%20slang%3D%22en-US%22%3ETo%20answer%20your%20first%20question%3A%3CBR%20%2F%3E%3CBR%20%2F%3EScope%20tags%20are%20only%20for%20RBAC%2C%20they%20don't%20do%20anything%20for%20policy%20assignments.%3CBR%20%2F%3E%3CBR%20%2F%3ESo%20if%20you%20assign%20a%20policy%20a%20tag%2C%20but%20assign%20it%20to%20all%20devices.%20All%20devices%20will%20receive%20it%2C%20the%20tag%20will%20not%20have%20an%20impact%20on%20this.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20cannot%20answer%20your%20question%20concerning%20the%20dynamic%20groups.%20I%20would%20advise%20you%20to%20utilize%20the%20Graph%20Explorer%20to%20check%20out%20the%20properties%20of%20a%20devices.%3CBR%20%2F%3EThat%20way%2C%20you%20can%20check%20what%20values%20'SystemLabels'%20have%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I have an interesting requirement, and wondered if someone could clear something up for me.  I am working with a very large client (130,000+ users) who are using scope tags extensively to delegate permissions to various OUs.  Each OU has their own ABM, MGP and KME instances for iOS and Android, and scope tags are applied to automatically enrolled devices according to which tag is set in the connectors / tokens.  Scope tags are also applied using device categories, but these obviously don't get applied until a user enrolls through company portal and selects the relevant category.

I need to create policies and configurations that apply to devices immediately after they register, but before they're user enrolled, and they must apply only to a specific OU's devices, not all devices in the tenant.

From everything I've read, scope tags cannot be used as a mechanism to assign policies to devices.  And I would agree from my experience that this is true, that scope tags "alone" can't be used to assign policies.  My question is, if I have a policy which is assigned to all devices, but it has a specific scope tag attached to it, will that policy only be applied to devices that have a matching tag?  All the literature points to scope tags being only relevant to RBAC.  But, this being the case, what is to stop a user in one OU creating an all devices policy which then impacts all other OUs?

 

Edit:  I have a supplementary question.  Does anyone know if it's possible to use scope tags in dynamic group filter expressions? I see that the device object class has a systemLabels attribute, but it's not clear from the documentation whether this contains the devices scope tags.

 

Thank you.

1 Reply
Highlighted
To answer your first question:

Scope tags are only for RBAC, they don't do anything for policy assignments.

So if you assign a policy a tag, but assign it to all devices. All devices will receive it, the tag will not have an impact on this.

I cannot answer your question concerning the dynamic groups. I would advise you to utilize the Graph Explorer to check out the properties of a devices.
That way, you can check what values 'SystemLabels' have