Posted on 01-25-2024 10:06 AM
Hi all,
We've had a few users in our org come to the Help Desk that have Macs signed in to iCloud with a MAID – these users are also automatically signed in to the App Store by default with their MAID as well. Pretty sure this is expected behavior of macOS.
The problem, however, is that when a user is signed in to the MAS with a MAID, there is no option to sign out. I don't know why this is, but I certainly understand how and why it can be frustrating.
That said, I've created a script that takes care of it. The TLDR is that it does the following, in order:
Apologies for not at all understanding how Github works, but here's a link to the script: https://github.com/teezyyoxo/choate-scripts/blob/main/MASbrewpls.sh
I welcome any feedback as I am only still learning :)
Last tested this on an 14" MacBook Pro (M3 Pro) about two weeks ago and it worked with no incident.
Hope it helps some of y'all!
Posted on 01-25-2024 10:22 AM
dead link? no public repos?
Posted on 01-26-2024 07:00 AM
LOL. Knew I did something wrong.
Just created a Gist. Hopefully you're able to see it now?
https://gist.github.com/teezyyoxo/47dd299643bd7037e362c5fa167136a0