I start up Minecraft as usual, and then proceed to click the "sign in" button on the main menu. It then takes me to my login info (Microsoft Account.) and as soon as I pick it to sign in, the screen turns black and switches back to the main menu and the "sign in" button reappears as if I didn't sign in. This issue also occurs when I attempt to sign in through the options menu under the "profile" tab. My current device is a Moto Z Play with the latest software update as of 6/24/17. I'm not sure if the info provided helps but I hope it does.
So I'm using a cracked version from the Google play store? Yea I think not