|
| 1 | +--- |
| 2 | +# required metadata |
| 3 | +title: Set up tenants for Windows 365 Government |
| 4 | +titleSuffix: |
| 5 | +description: Learn how to set up tenants for Windows 365 Government. |
| 6 | +keywords: |
| 7 | +author: ErikjeMS |
| 8 | +ms.author: erikje |
| 9 | +manager: dougeby |
| 10 | +ms.date: 10/3/2022 |
| 11 | +ms.topic: overview |
| 12 | +ms.service: cloudpc |
| 13 | +ms.subservice: |
| 14 | +ms.localizationpriority: high |
| 15 | +ms.technology: |
| 16 | +ms.assetid: |
| 17 | + |
| 18 | +# optional metadata |
| 19 | + |
| 20 | +#ROBOTS: |
| 21 | +#audience: |
| 22 | + |
| 23 | +ms.reviewer: |
| 24 | +ms.suite: ems |
| 25 | +search.appverid: MET150 |
| 26 | +#ms.tgt_pltfrm: |
| 27 | +ms.custom: intune-azure; get-started |
| 28 | +ms.collection: M365-identity-device-management |
| 29 | +--- |
| 30 | + |
| 31 | +# Set up tenants for Windows 365 Government |
| 32 | + |
| 33 | +For Windows 365 to function in the Government Community Cloud (GCC) environment, customers must prepare one commercial Azure domain (.com) tenant with an onmicrosoft.com address. If you want to use configuration options described in this article, you must also prepare one Azure Government domain (.us) tenant with an onmicosoft.us address. |
| 34 | + |
| 35 | +## Commercial Azure tenant (.com) |
| 36 | + |
| 37 | +The commercial Azure tenant includes: |
| 38 | + |
| 39 | +- Windows 365 subscription. |
| 40 | +- Enterprise Mobility + Security (EMS)/Microsoft Endpoint Manager subscription. |
| 41 | +- Azure Active Directory (Azure AD) information such as Users and Groups. |
| 42 | + |
| 43 | +## Azure goverment tenant (.us) |
| 44 | + |
| 45 | +The Azure Government tenant includes Microsoft Azure subscription and associated services, such as: |
| 46 | + |
| 47 | +- Azure Virtual Network (vNet). |
| 48 | +- Azure ExpressRoute connections. |
| 49 | +- Other Azure Resources, including Cloud PC resources. |
| 50 | + |
| 51 | +>[!NOTE] |
| 52 | +> While the GCC users' Cloud PCs are hosted and secured in the Azure Government cloud, the admin and end user experience is similar to the commercial business uer experience. This is because the endpoints for admins and end users are in the commercial Azure domain. |
| 53 | +
|
| 54 | +## Azure AD options |
| 55 | + |
| 56 | +If you want to use Azure AD join or hybrid Azure AD join, consider these preparations: |
| 57 | + |
| 58 | +**Azure AD joined Cloud PCs**: If the you want to use an Azure AD join infrastructure and your own network, you'll need a tenant and Azure subscription in the Azure Government cloud. The tenant in the Azure commercial .com domain must be mapped to the tenant in the Azure Government .us domain. |
| 59 | + |
| 60 | +**Hybrid Azure AD joined Cloud PCs**: If you want to use a hybrid Azure AD join infrastructure, you'll need to configure your commercial (.com) tenant and your government (.us) tenants before creating your Azure Virtual Networks. |
| 61 | + |
| 62 | +## Mapping the commercial and government tenants |
| 63 | +For the two tenants to be connected and have the ability for a user with an identity in the Azure Commercial cloud to access their Windows 365 Cloud PCs provisioned in the Azure Government, the Tenant Mapping PowerShell script will need to be run. The mapping also enables administrators using their Azure Commercial identity to provision and manage the Windows 365 Cloud PCs in the Azure Government cloud. |
| 64 | + |
| 65 | +1. Gather the following information. It will be used later in these steps. |
| 66 | + - Commercial Azure tenant ID. |
| 67 | + - Commercial Azure Global administrator user name and password. |
| 68 | + - Azure Government tenant ID. |
| 69 | + - Azure Government Global administrator credentials user name and password. |
| 70 | +2. Make sure you have Windows PowerShell version 5.1. Other versions may result in errors when running the script. |
| 71 | +3. Go to the [Windows 365 PowerShell GitHub repository](https://github.com/microsoft/Windows365-PSScripts). |
| 72 | +4. Navigate to the **Windows 365 GCC** folder > right-click **TenantMapping.ps1** > **Save link as** > save the file to a location on your computer. |
| 73 | +5. Open Windows PowerShell 5.1 and run the PowerShell script. |
| 74 | + >[!NOTE] |
| 75 | + >If the script was previously run successfully, you'll see the error **HttpStatusCode Conflict**. This warning can be ignored to execute the script functions Add and Get. |
| 76 | +6. In PowerShell 5.1, type **I** to initiate tenant mapping. |
| 77 | +7. After the Initialization completes, type **A** at the prompt. When prompted, type the following information: |
| 78 | + - Your Commercial tenant ID, which can be found here: https://portal.azure.com/. |
| 79 | + - Your Azure Government tenant ID, which can be found here: https://portal.azure.us/. |
| 80 | +8. When prompted, press Enter to open a web browser and enter your user name and password for your commercial tenant ( [email protected]). |
| 81 | +9. When prompted, press Enter to open a web browser and enter your credentials for your Azure government tenant ( [email protected]). |
| 82 | +10. After the mapping completes, you'll see **Added tenant mapping successfully!** |
| 83 | + |
| 84 | +## Azure AD join custom image management |
| 85 | + |
| 86 | +If you're going to use Gallery images to provision Cloud PCs using the Microsoft Hosted Network (MHN), no further configurations are required. |
| 87 | + |
| 88 | +However, extra steps are needed to upload custom images on the Microsoft Hosted Network for Azure AD join-only Cloud PC. In this case, follow these steps before uploading your Custom Image. |
| 89 | + |
| 90 | +You will need Commercial and Gov credentials and line of sight to both tenants to execute the script. |
| 91 | + |
| 92 | +1. Make sure you have both commercial and government credentials. |
| 93 | +2. Make sure you have line of sight to both tenants. |
| 94 | +3. Go to the [Windows 365 PowerShell GitHub repository](https://github.com/microsoft/Windows365-PSScripts). |
| 95 | +4. Navigate to the **Windows 365 GCC** folder > right click **GrantSPRolesInTenant.ps1** > **Save link as** > save the file to a location on your computer. |
| 96 | +5. Run the PowerShell script. |
| 97 | +6. At the prompt, type **1** to enable custom image uploads. |
| 98 | + |
| 99 | +## Set permissions for networking and custom image management |
| 100 | + |
| 101 | +When provisioning Windows 365 Cloud PCs without the Microsoft Hosted Network (MHN), you must define an Azure Network Connection (ANC) resource that the Cloud PCs will use to connect with other resources, including your on-prem infrastructure. This will allow GCC customers to use their own network. There is also an option to enable customers to use custom images when the Windows 365 Cloud PCs are provisioned. |
| 102 | + |
| 103 | +1. Gather the following information. It will be used later in these steps. |
| 104 | + - Commercial Azure tenant ID. |
| 105 | + - Commercial Azure Global administrator username and password. |
| 106 | + - Azure Government tenant ID. |
| 107 | + - Azure Government Global administrator credentials username and password. |
| 108 | + - Subscription in the Azure Government tenant. |
| 109 | + - Resource Group in the Azure Government tenant. |
| 110 | + - Virtual Network in the Azure Government tenant. |
| 111 | +2. Make sure you have Windows PowerShell version 5.1. Other versions may result in errors when running the script. |
| 112 | +3. Go to the [Windows 365 PowerShell GitHub repository](https://github.com/microsoft/Windows365-PSScripts). |
| 113 | +4. Navigate to the **Windows 365 GCC** folder > right-click **GrantSPRolesInTenant.ps1** > **Save link as** > save the file to a location on your computer. |
| 114 | +5. Open Windows PowerShell 5.1 and run the PowerShell script. First step is to login to your Azure Government cloud tenant. |
| 115 | +6. At the prompt, type one of the following options: |
| 116 | + - **2** to grant permissions to create Azure Network Connections (ANC). |
| 117 | + - **3** to grant permissions to create ANCs and upload custom images. |
| 118 | +7. The script lists the subscriptions available for the Azure Government cloud tenant. Select the subscription that you want to use. |
| 119 | +8. The resource groups for that subscription are listed. Select the group that you want to use. |
| 120 | +9. Select your vNet. |
| 121 | +10. The script grants the permissions and lists what was configured. |
0 commit comments