{"id":23459429,"url":"https://github.com/devkimchi/microsoft-devbox-sample","last_synced_at":"2025-07-21T12:38:38.294Z","repository":{"id":180844749,"uuid":"665785285","full_name":"devkimchi/microsoft-devbox-sample","owner":"devkimchi","description":"This provides Azure Bicep templates to create Microsoft Dev Box within your tenant/subscription","archived":false,"fork":false,"pushed_at":"2023-07-14T12:26:21.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T23:44:10.437Z","etag":null,"topics":["azure","bicep","microsoft-dev-box"],"latest_commit_sha":null,"homepage":"","language":"Bicep","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devkimchi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-13T02:15:54.000Z","updated_at":"2023-07-19T10:22:29.000Z","dependencies_parsed_at":"2023-07-14T13:48:36.107Z","dependency_job_id":null,"html_url":"https://github.com/devkimchi/microsoft-devbox-sample","commit_stats":null,"previous_names":["devkimchi/azure-devbox-sample","devkimchi/microsoft-devbox-sample"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Fmicrosoft-devbox-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Fmicrosoft-devbox-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Fmicrosoft-devbox-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Fmicrosoft-devbox-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devkimchi","download_url":"https://codeload.github.com/devkimchi/microsoft-devbox-sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248484942,"owners_count":21111751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","bicep","microsoft-dev-box"],"created_at":"2024-12-24T06:14:30.550Z","updated_at":"2025-04-11T21:37:32.001Z","avatar_url":"https://github.com/devkimchi.png","language":"Bicep","readme":"# Microsoft Dev Box Sample\n\nThis provides [Azure Bicep](https://learn.microsoft.com/azure/azure-resource-manager/bicep/overview?WT.mc_id=dotnet-101825-juyoo) templates to create [Microsoft Dev Box](https://learn.microsoft.com/azure/dev-box/overview-what-is-microsoft-dev-box?WT.mc_id=dotnet-101825-juyoo) within your subscription.\n\n## Acknowledgement\n\n- This templates create minimum number of resources on Azure.\n- If you need more comprehensive example, find [this repository](https://github.com/Azure-Samples/Devcenter) instead.\n\n## Prerequisites\n\n- Azure Subscription: [Get free subscription](https://azure.microsoft.com/free?WT.mc_id=dotnet-101825-juyoo)\n- Azure Developer CLI: [Install](https://learn.microsoft.com/azure/developer/azure-developer-cli/install-azd?WT.mc_id=dotnet-101825-juyoo)\n- Azure CLI: [Install](https://learn.microsoft.com/cli/azure/install-azure-cli?WT.mc_id=dotnet-101825-juyoo)\n\n## Getting Started\n\n1. Fork this repository to your GitHub account.\n1. Set the environment name.\n\n   ```bash\n   # PowerShell\n   $AZURE_ENV_NAME=\"dbox$(Get-Random -Max 9999)\"\n\n   # Bash\n   AZURE_ENV_NAME=\"dbox$RANDOM\"\n   ```\n\n1. Set the user principal name (UPN) of your tenant. It typically looks like `alias@domain`.\n\n   \u003e Make sure the UPN MUST be within the tenant. External account or Microsoft Account is not allowed.\n\n   ```bash\n   # PowerShell\n   $upn=\"{USER_PRINCIPAL_NAME}\"\n\n   # Bash\n   upn=\"{USER_PRINCIPAL_NAME}\"\n   ```\n\n1. Run the commands in the following order to provision resources.\n\n   ```bash\n   # Azure CLI\n   az login\n\n   # Azure Dev CLI\n   azd auth login\n   azd init -e $AZURE_ENV_NAME\n   azd env set PROJECT_USER_IDS $(az ad user show --id $upn --query \"id\" -o tsv)\n   azd env set PROJECT_ADMIN_IDS $(az ad user show --id $upn --query \"id\" -o tsv)\n   azd up\n   ```\n\n1. Once all provisioned, log into [Microsoft Developer Portal](https://devportal.microsoft.com?WT.mc_id=dotnet-101825-juyoo).\n1. Create a new Dev Box to use.\n1. Once the Dev Box is running, log into the Dev Box with your account.\n\n## Want to try more?\n\nHere are some documents you might be interested in:\n\n- [Microsoft Dev Box \u0026ndash; Announcement](https://azure.microsoft.com/en-us/blog/dev-optimized-cloud-based-workstations-microsoft-dev-box-is-now-generally-available/?WT.mc_id=dotnet-101825-juyoo)\n- [What is Microsoft Dev Box?](https://learn.microsoft.com/azure/dev-box/overview-what-is-microsoft-dev-box?WT.mc_id=dotnet-101825-juyoo)\n- [Set up Microsoft Dev Box](https://learn.microsoft.com/azure/dev-box/quickstart-configure-dev-box-service?WT.mc_id=dotnet-101825-juyoo)\n- [Create a Dev Box from Developer Portal](https://learn.microsoft.com/azure/dev-box/quickstart-create-dev-box?WT.mc_id=dotnet-101825-juyoo)\n- [Azure Dev Center Quick Start](https://github.com/Azure-Samples/Devcenter)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkimchi%2Fmicrosoft-devbox-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevkimchi%2Fmicrosoft-devbox-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkimchi%2Fmicrosoft-devbox-sample/lists"}