{"id":1260,"date":"2022-11-03T00:35:53","date_gmt":"2022-11-03T05:35:53","guid":{"rendered":"https:\/\/www.brunerd.com\/blog\/?p=1260"},"modified":"2022-11-03T00:35:53","modified_gmt":"2022-11-03T05:35:53","slug":"determining-adobe-creative-cloud-sign-in-status-on-a-mac","status":"publish","type":"post","link":"https:\/\/www.brunerd.com\/blog\/2022\/11\/03\/determining-adobe-creative-cloud-sign-in-status-on-a-mac\/","title":{"rendered":"Determining Adobe Creative Cloud sign-in status on a Mac"},"content":{"rendered":"\n<p>Adobe Creative Cloud app can get in weird state that blocks users from seeing their apps. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/AppPanel-False.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/AppPanel-False-1024x640.png\" alt=\"\" class=\"wp-image-1269\" width=\"464\" height=\"290\" srcset=\"https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/AppPanel-False-1024x640.png 1024w, https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/AppPanel-False-300x188.png 300w, https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/AppPanel-False-768x480.png 768w, https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/AppPanel-False-1536x960.png 1536w, https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/AppPanel-False.png 2048w\" sizes=\"auto, (max-width: 464px) 100vw, 464px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>The <a rel=\"noreferrer noopener\" href=\"https:\/\/helpx.adobe.com\/enterprise\/kb\/apps-tab-disabled.html\" target=\"_blank\">official solution<\/a> from Adobe is to delete the file <code>\/Library\/Application Support\/Adobe\/OOBE\/Configs\/ServiceConfig.xml<\/code> and &#8220;restart&#8221; Adobe CC, however in the real world you need to <strong>sign out and sign back in<\/strong> for the fix to take effect. The folks in the <a rel=\"noreferrer noopener\" href=\"https:\/\/community.adobe.com\/t5\/enterprise-teams-discussions\/can-t-seem-to-install-any-application-need-it-admin-permission-mac\/m-p\/10665746\" target=\"_blank\">Adobe forums<\/a> also found that you can change the value of the <code>AppsPanel<\/code> key from <code>false<\/code> to <code>true<\/code> and that does the trick too. Either way it <em>still<\/em> requires the user to sign-out of Adobe CC and back in.<\/p>\n\n\n\n<p>Now, if you are a MacAdmin with a script that either deletes or modifies <code>ServiceConfig.xml<\/code>, you will ideally tell the user to Sign Out of Creative Cloud for the fix to take effect. Wouldn&#8217;t it be nice to be able to check they&#8217;ve done so and prompt them appropriately (or not)? For sure, right!?<\/p>\n\n\n\n<p>There&#8217;s a per-user file with ideal behavior, that gets created upon sign-in and removed upon sign out: <code>~\/Library\/Application Support\/Adobe\/Creative Cloud\\ Libraries\/LIBS\/librarylookupfile<\/code> While its presence shouldn&#8217;t be taken as absolute proof that the sign-In is valid, it <em>can<\/em> be helpful when you need to alert the user what their next steps are. Here&#8217;s a <a href=\"https:\/\/github.com\/brunerd\/macAdminTools\/blob\/main\/Scripts\/consoleHasAdobeCCSignIn_func.sh\" target=\"_blank\" rel=\"noreferrer noopener\">simple example<\/a> that just echoes out the status:<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>#!\/bin\/bash\n#consoleHasAdobeCCSignIn - Copyright (c) 2022 Joel Bruner - MIT License\n\nfunction consoleHasAdobeCCSignIn()(\n\tconsoleUser=$(stat -f %Su \/dev\/console)\n\n\t#if root grab the last console user\n\tif &#91; \"${consoleUser}\" = \"root\" ]; then\n\t\tconsoleUser=$(\/usr\/bin\/last -1 -t console | awk '{print $1}')\n\tfi\n\t\n\tsudo -u ${consoleUser} sh -c 'ls ~\/Library\/Application\\ Support\/Adobe\/Creative\\ Cloud\\ Libraries\/LIBS\/librarylookupfile &amp;>\/dev\/null'\n\treturn $?\n)\n\n\nif consoleHasAdobeCCSignIn; then\n\tresult=\"Signed In\"\nelse\n\tresult=\"Signed Out\"\nfi\n\necho \"Adobe CC status ($(stat -f %Su \/dev\/console)): $result\"<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/Example-Output.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/Example-Output.png\" alt=\"\" class=\"wp-image-1273\" width=\"466\" height=\"80\" srcset=\"https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/Example-Output.png 466w, https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/Example-Output-300x52.png 300w\" sizes=\"auto, (max-width: 466px) 100vw, 466px\" \/><\/a><figcaption>Example output<\/figcaption><\/figure>\n<\/div>\n\n\n<p>In a fully fleshed out script you could use my shell function <a href=\"https:\/\/github.com\/brunerd\/shui\">shui<\/a> to pop-up a sharp looking AppleScript alert to your user if they need to sign out or just sign in. You can even use the icon in your pop-up.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/AdobeCC-signOut-Shui-example.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/AdobeCC-signOut-Shui-example.png\" alt=\"\" class=\"wp-image-1274\" width=\"428\" height=\"143\" srcset=\"https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/AdobeCC-signOut-Shui-example.png 840w, https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/AdobeCC-signOut-Shui-example-300x100.png 300w, https:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/AdobeCC-signOut-Shui-example-768x256.png 768w\" sizes=\"auto, (max-width: 428px) 100vw, 428px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>You could also use the <code>consoleHasAdobeCCSignIn<\/code> function in a Jamf Extension Attribute for tracking which Macs have actually signed into Adobe CC and possibly reclaim unused licenses. I&#8217;ll leave the uses and script cobbling to you the reader, as an exercise. Thanks for reading!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adobe Creative Cloud app can get in weird state that blocks users from seeing their apps. The official solution from Adobe is to delete the file \/Library\/Application Support\/Adobe\/OOBE\/Configs\/ServiceConfig.xml and &#8220;restart&#8221; Adobe CC, however in the real world you need to sign out and sign back in for the fix to take effect. The folks in [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,12,36],"tags":[55,22,24],"class_list":["post-1260","post","type-post","status-publish","format-standard","hentry","category-adobe","category-scripting","category-shui","tag-adobe","tag-scripting","tag-shell"],"_links":{"self":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/posts\/1260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/comments?post=1260"}],"version-history":[{"count":9,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/posts\/1260\/revisions"}],"predecessor-version":[{"id":1276,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/posts\/1260\/revisions\/1276"}],"wp:attachment":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/media?parent=1260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/categories?post=1260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/tags?post=1260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}