Fix Microsoft 365 Developer Sandbox Missing Morocco Country Code
Question details
The user is unable to verify their phone number during the Microsoft 365 Developer Program sandbox setup because Morocco is not available in the country-code selector.

- Product
- Microsoft 365 Developer Program
- Device & OS
- not provided
- Scenario
- Setting up a new Microsoft 365 Developer sandbox environment for application testing and development.
- Observed behavior
- The country-code selector does not list Morocco, and the subscription region automatically defaults to North America, preventing the user from completing the required SMS verification.
Ensure you are using a standard, non-incognito browser window and have access to your primary Microsoft account recovery settings before attempting the setup again.
Proceed with Default Region Settings
Continue the developer setup process using the default North America region, as the sandbox can often still function regardless of your physical location.
The Microsoft 365 Developer Program subscription region often defaults to North America regardless of your actual location. In many cases, you may still be able to continue setting up and using your developer subscription by accepting the default parameters.
Ensure that your Microsoft account information, primary email, and recovery emails are entered correctly in your general profile settings.
If the system defaults the tenant to North America, accept the default region and attempt to proceed to the next step of the sandbox creation.
Check the official Microsoft 365 Developer Program Get Started documentation for any updated workarounds regarding unsupported regions.

Contact Microsoft Support for Regional Verification
If you are completely blocked from activating the sandbox due to the missing country code, reaching out to Microsoft support is the recommended next step.
Try WPS Office as a Free and Lightweight Alternative
If you are exploring Microsoft 365 primarily for standard office tasks like documents, spreadsheets, and presentations rather than API development, WPS Office is an excellent free alternative. It offers a familiar interface, high compatibility, and requires no complicated sandbox setups.
- 1. Download the installer: Visit the official WPS Office website and click on the Free Download button.
- 2. Install the software: Run the downloaded installer and follow the on-screen instructions to complete the setup.
- 3. Start creating: Open WPS Office and instantly create or edit your documents without any regional restrictions.

Frequently Asked Questions
Why is my country missing from the Microsoft 365 developer setup?
Microsoft periodically updates the supported regions for its Developer Program to comply with international regulations and service policies. Some countries may be temporarily or permanently unavailable for SMS verification.
Can I use a North American region for my developer sandbox if I live elsewhere?
Yes, the subscription region often defaults to North America. You can generally continue to set up and use the sandbox for development purposes without any performance issues, regardless of your physical location.
Is the Microsoft 365 Developer Program completely free?
Yes, the program provides a free, renewable 90-day Microsoft 365 E5 developer subscription, which is designed exclusively for development and testing purposes.
What should I do if the SMS verification fails during setup?
Ensure you have selected the correct country code (if available) and typed your phone number without any leading zeros. If your country is entirely missing, try using an alternative authentication method if provided, or contact Microsoft Support for assistance.




