corso/website/blog/2022-12-09-m365-sandbox-setup.md
Niraj Tolia 692b8425b9
Website fixes (#1834)
## Description

Fix issues found by screaming frog

- Use https:// for links
- Add missing cookies page back
- Add missing alt-text
- Use dashes instead of underscores for better search engine indexing
- Fix internal redirects

## Does this PR need a docs update or release note?

- [x]  No 

## Type of change

- [x] 🐛 Bugfix
2022-12-16 04:10:56 +00:00

88 lines
4.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
slug: m365-sandbox-setup
title: "Setting up your own Microsoft 365 sandbox"
description: "Getting started with a Microsoft 365 sandbox in under 10 minutes for development and testing purposes"
authors: nica
tags: [corso, microsoft 365]
date: 2022-12-09
image: ./images/ar_sandbox.jpg
---
When trying to set up a Microsoft 365 sandbox domain myself I found some of the documentation out of date,
so this is a quick guide to setting up a sandbox domain for Microsoft 365 development.
## Why would you want to do this?
I personally needed this for recording a screencast of the process to install Corso.
While recording myself going through permission settings in M365,
I didnt want to unintentionally reveal PII for my team members or other sensitive data.
Another reason to do this is if youre looking to level up both your skills and
want to experiment with being the admin in your own space
rather than impacting other users on a production domain. Its also a good step to experiment with [owning your own identity](https://corsobackup.io/blog/your-own-backups/).
<!-- truncate -->
Finally, this might also be useful if you are developing an M365 app. This way, programmatic
updates to your domain cant accidentally destroy anything important.
## 1) Join the Microsoft 365 developer program
To get access to the free hosting required for your sandbox domain,
youll need to [join the M365 Developer Program](https://developer.microsoft.com/en-us/microsoft-365/dev-program).
This process is quite straightforward and fairly foolproof.
![Screenshot of Microsoft 365 developer program website](./images/12-09-2022-a.png)
> Note that when you go to set this up the first time, you may find that your Microsoft Account isnt fully set up.
> For example on my account I didnt have a full name set on my profile. Youll be prompted to add this info if needed
Youll also be asked for the following info:
- Contact Email
- Country/Region
- Company
As far as I know, no answers to these questions will disqualify you, but let me know if any answers kick you out of the process!
Notably, one piece of extant documentation implies you need a Visual Studio subscription to join the Developer Program,
but, currently, it looks like anyone with a Microsoft account, even just a personal account, can get access.
## 2) Create an instant sandbox
After joining the developer program and signing in to the developer dashboard, youll be prompted to set up a sandbox
While you can configure a custom sandbox domain to control the exact components installed,
for the use cases mentioned above an instant sandbox will work just fine.
The pre-made sandbox also comes pre-populated with data like user accounts. Of note,
you can decide during setup if you want to set all the passwords for these accounts to be the same as the admin.
![Microsoft 365 sandbox domain user list](./images/12-09-2022-b.png)
*Your sandbox comes pre-populated with user accounts*
## 3) Limitations of the sandbox
Notably, by default, there wont be the following data in your sandbox:
- Emails
- Teams chat history
- Calendar events
Your sandbox also includes a free Microsoft 365 E5 developer sandbox subscription with 25 user licenses, and thats awesome,
but it doesnt work like a production instance.
Remember that you want to set up your sandbox when youre ready to use it.
The data is persistent but its wiped after 90 days.
Also, you cant just do whatever you want with this instance, its for development and testing purposes only.
Commercial transactions, including purchasing paid services, aren't supported.
## 4) Next steps
To learn more about populating your domain with dummy data, see
[developer sandbox demo data](https://learn.microsoft.com/en-us/office/developer-program/install-sample-packs)
to create users, email, calendar events, and other dummy data for testing.
And if you want one more thing to try out with a sandbox domain, check out [Corso](https://corsobackup.io/),
a free and open-source backup tool. The sandbox is a great place to try it out!