Question: can you play minecraft online without microsoft account?
Answer: No. You can play normal survival and creative without having a Microsoft account. However, you do need an account to play on any online server or join a realm. Also, if you are still playing on Minecraft PE, that's probably why it's not working.