Launcher icon indicating copy to clipboard operation
Launcher copied to clipboard

Can't add microsoft acount

Open KamilC00 opened this issue 4 years ago • 17 comments

Operating System

Windows

Description of bug

I can't add Microsoft account to MultiMC, tried googling the error didn't find anything specfic, tried changing my age on Microsoft account and migrating account to different region(got error). My log: https://paste.ee/p/R1KyP

Steps to reproduce

1 Open MultiMC 2 Profiles 3 Manage accounts 4 Add Microsoft 5 Open https://www.microsoft.com/link 6 Paste code 7 Put in Microsoft password and press next/login 8 Press Yes at "Grant the app access to information" 9 Get "XBox Live is not available in your country. You've been blocked." Error in MultiMc

Suspected cause

No response

This issue is unique

  • [X] I have searched the issue tracker and did not find an issue describing my bug.

KamilC00 avatar Nov 20 '21 11:11 KamilC00

The error message is pretty self-explanatory. You have been blocked from XBox Live and playing games due to your country. Maybe an active VPN is at fault?

Regardless, the only way to play via Microsoft authentication is if the XBox APIs say that you're allowed to. And since Microsoft says you can't, MultiMC is correctly cancelling the login attempt.

jotoho avatar Nov 20 '21 12:11 jotoho

So as far as I can tell, everything is working as intended on MultiMC's end. If you want to play, you'll need to convince Microsoft to allow it. (Good luck with that.)

jotoho avatar Nov 20 '21 12:11 jotoho

Ok but when using normal Minecraft launcher everything works no error while logging in Edit1. Made ticket with Microsoft and waiting for answer from them.

KamilC00 avatar Nov 20 '21 12:11 KamilC00

It's really preferential/different treatment based on being or not being an XBox title.

MultiMC is not an XBox title. It has no exceptions applied to it like the Mojang launcher does. So some extra constraints apply.

There is absolutely nothing I can do about it without MultiMC somehow becoming an XBox title, overhauling all of the authentication again, and negotiating these exceptions with Microsoft.

I don't think I have it in me to even begin doing that.

peterix avatar Nov 20 '21 15:11 peterix

On top of that, the error code translating to a message is a guess.

For the purpose of talking to support, this is more useful: You are getting error code 2148916235 from endpoint https://xsts.auth.xboxlive.com/xsts/authorize This can be for either of these relying parties:

  • rp://api.minecraftservices.com/
  • http://xboxlive.com

It would be interesting to find out which one of them actually gave you the error.

So let's dig into that a little bit more.

peterix avatar Nov 20 '21 15:11 peterix

Also 0x8015DC0B - this gets more search engine results - it's the same number in hex

peterix avatar Nov 20 '21 15:11 peterix

@KamilC00 are you in the Ukraine?

phit avatar Nov 20 '21 15:11 phit

Some interesting results:

  • https://kiss7.tistory.com/928
  • https://support.xbox.com/es-MX/help/errors/error-code-0x8015DC0B
  • https://answers.microsoft.com/en-us/xbox/forum/all/0x8015dc0b-%D0%BE%D1%88%D0%B8%D0%B1%D0%BA%D0%B0/e374bc7c-5962-400c-be3a-9d7d0b093de0?auth=1
  • https://helplab.ir/%D8%B1%D9%81%D8%B9-%D8%AE%D8%B7%D8%A7%DB%8C-0x8015dc0b/

You might have to resort to some creative solutions.

peterix avatar Nov 20 '21 15:11 peterix

So the answer is: it's political.

peterix avatar Nov 20 '21 15:11 peterix

@KamilC00 If are you in Russian, tell me this. Maybe can help you

kyrtion avatar Nov 20 '21 17:11 kyrtion

@phit and @kyrtion Im from Poland, @peterix will check out the links thanks

KamilC00 avatar Nov 20 '21 17:11 KamilC00

Jaki masz system?

glowiak avatar Dec 25 '21 10:12 glowiak

@glowiak using older (like 3-4 years old) HP omen 15 ce008nw (i7-7700hq and gtx 1050) laptop.

After trying with Mojang, Xbox and Microsoft support i didn't get any concrete answer. I don't wanna use a vpn so my work around is just using vanilla Minecraft launcher with curse forge app as a mod manager. I hope Microsoft will fix some day their stupid auth api.

KamilC00 avatar Dec 25 '21 12:12 KamilC00

For me when I try to login using my microsoft account it says "Failed to get minecraft acces token:conncetian lost" And I am using my school laptop if that has anything to do with it

ghost avatar Mar 24 '22 11:03 ghost

It looks like that the country ban because MultiMC use normal XSTS flow. Try using Sisu auth flow using Minecraft client id, it may help.

EvanEvan-17 avatar Nov 17 '22 11:11 EvanEvan-17

I've found the solution. Use to any Windows instance to run MultiMc then do auth procedure there. After your Minecraft Microsoft account have been successfully added - find and copy accounts.json file to your linux instance. Works for me. Ubuntu 20.04. MMC(0.7.0 / mmc installer 1.6.2.deb)

cyr-kov avatar May 08 '23 17:05 cyr-kov

For me logging in with my Microsoft account (not GitHub) solved the problem. After logging in a page appears with permissions for MultiMC, which you have to accept.

sn1tr0n avatar Jul 09 '23 11:07 sn1tr0n

Confirm. You need to log with your microsoft account not the git-hub one

cyr-kov avatar Apr 20 '24 15:04 cyr-kov