Hello Soganddh Dh
Welcome to the Microsoft Community.
Regarding Minecraft availability issues in Iran, this is often a result of compliance with international laws and sanctions. Microsoft and other technology companies are sometimes required to restrict the use of their software and services in certain countries under U.S. government laws and regulations. This is not an action against individual players or countries, but rather a legal requirement that companies must follow.
I understand this can be very frustrating for you, especially when a game you love is suddenly inaccessible.
I also hope that this situation can be improved and that you can continue to enjoy Minecraft.
Thank you for your understanding and support
If you have any other questions or need help, please feel free to let me know. 🙏
If there is anything not clear or I can't understand your problem, please do not hesitate to let me know.
Best Regards
Patch - MSFT | Microsoft Community Support Specialist