{"id":313,"date":"2019-03-20T14:44:10","date_gmt":"2019-03-20T14:44:10","guid":{"rendered":"http:\/\/172.23.1.43\/?p=313"},"modified":"2022-06-07T22:26:14","modified_gmt":"2022-06-07T22:26:14","slug":"what-make-commands-atomic-means-in-workspace-one-uem","status":"publish","type":"post","link":"https:\/\/blog.n-dol.org\/2019\/03\/20\/what-make-commands-atomic-means-in-workspace-one-uem\/","title":{"rendered":"What “Make Commands Atomic” means in Workspace ONE UEM?"},"content":{"rendered":"\n

When you are creating custom xml for specific CSP and import it, you probably wondered what “Make Commands Atomic” tick box means, especially as it is ticked by default.<\/p>\n\n\n\n

\"Make-Command-Atomic\"<\/figure><\/div>\n\n\n\n\n\n\n\n

Theory<\/h1>\n\n\n\n

Windows 10 use OMA-DM (Open Mobile Alliance-Device Management) protocol for MDM, the OMA-DM protocol use the SyncML representation protocol format to pass instructions and stay in sync, SyncML is XML-based so easy to read.<\/p>\n\n\n\n

In the SyncML format, Atomic is a container attribute, this mean that it can contain 1 or more instructions within it.<\/p>\n\n\n\n

When you create a custom profile with multiple command, some command may fail, some other may succeed, so you may end up with a profile half-applied. This is where Atomic attribute come in play, it validate that all the command succeed or it will fail entirely.<\/p>\n\n\n\n

Some CSPs require to use atomic in order to be used, Firewall CSP is one of them, no one want a firewall half-configured…<\/p>\n\n\n\n

Example<\/h1>\n\n\n\n

Let’s say I want to apply 2 settings but it’s fine if one of them is failing then I should create 2 profile for each settings.<\/p>\n\n\n\n

Now imagine that you need to run an exec command, apply 2 other settings to make a feature working then Atomic is the “safeguard” to make sure that the exec command run and the other 2 settings are applied as well otherwise if 1 fail the whole profile fail and no settings are applied.<\/p>\n","protected":false},"excerpt":{"rendered":"

When you are creating custom xml for specific CSP and import it, you probably wondered what “Make Commands Atomic” tick…<\/p>\n","protected":false},"author":5614970,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1986749,672890795],"tags":[22299055,284229,722452,672890813,651069476],"_links":{"self":[{"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/posts\/313"}],"collection":[{"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/users\/5614970"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/comments?post=313"}],"version-history":[{"count":9,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/posts\/313\/revisions"}],"predecessor-version":[{"id":694,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/posts\/313\/revisions\/694"}],"wp:attachment":[{"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/media?parent=313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/categories?post=313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.n-dol.org\/wp-json\/wp\/v2\/tags?post=313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}