mas icon indicating copy to clipboard operation
mas copied to clipboard

Work with multiple Apple Accounts

Open yustein opened this issue 9 years ago • 8 comments

Many expats including myself have multiple Apple accounts from multiple country app stores.

There is no easy way Apple provides us to update our apps. The App Store app keeps asking to login again and again to different app stores which makes it impossible to automate it. (automator maybe?)

Any chance such a function to be included here?

Kind regards, Tony

yustein avatar May 22 '16 20:05 yustein

I do not know whether this is possible but I imagine there is probably a way. Unfortunately I don't think this is something I will be able to investigate further for a while.

argon avatar May 29 '16 15:05 argon

image

FYI, currently when upgrade an app that was installed from other account, this will prompts, and mas will failed with:

Error: Download request failed: Unknown Error.

reorx avatar Oct 28 '16 17:10 reorx

AFAIK Apple doesn't provide a way for you to upgrade an app that was purchased via another Apple ID. You can simply rm -rf the file and do an install using the signed in account you want.

timsutton avatar Oct 28 '16 20:10 timsutton

Deleting the app and installing with another account would mean paying twice for an app in many cases.

I think a good way to handle this would be to allow specifying which apps to upgrade, something like

mas upgrade "Xcode"

EmilioPelaez avatar Dec 16 '16 05:12 EmilioPelaez

Why not keep logged in to 2 different Apple IDs?

yustein avatar Jan 15 '17 09:01 yustein

Or at least is there a way to bypass that error dialog so I can script to do the upgrades with 2 different accounts?

yustein avatar Jan 15 '17 09:01 yustein

Why not keep logged in to 2 different Apple IDs?

We can't do this because Mac App Store.app can't do this. The only workaround is to manually sign-in under a different account.

rodionovd avatar Jan 15 '17 12:01 rodionovd

If signin is ever fixed (#164), then mas could be configured to do operations for multiple accounts by sequentially logging in & out of them.

We’d probably want to have some secure way of storing all the passwords, like in Keychain (#97).

We'd also want to have a persistent setting of all the Apple Accounts to use, which would require #838.

rgoldberg avatar May 18 '25 13:05 rgoldberg