Articles in this section
Enabling Cross-Tenant Play
Server hosts can setup servers to allow connections from different Microsoft 365 Tenants. This setup will require cooperation from Admins or Teachers on both end as the tenant hosting the server will need to send an invite, and the receiving tenant will need to accept it.
Since IT Admins or Teachers need to accept the connection, students still remain secure. Accepting an invitation will not allow different organizations to connect to each other in Peer-2-Peer sessions and will only grant access to the servers that have a connection setup.
Helpful links:
Enabling Cross Tenant for your Tenant
Revoking an Invite in the Admin Portal
Set up using the Tooling and Scripting Notebook
Revoking an Invite in the Tooling and Scripting Notebook
Prerequisites:
- Ensure that your account has access to the Dedicated Server Admin Portal, or the Tooling and Scripting Notebook
- Ensure that Dedicated Server is enabled in your tenant using one of these articles: (depending on your role):
- IT Admin: Create Dedicated Servers (For IT Admins and Commercial Tenants)
- Teacher View: Create Dedicated Servers (for Teacher's using Teacher View)
- Ensure that a user on each end is available to send and accept the invitation.
- The host will need the Tenant ID of the invitee; you can find it at the top of the Dedicated Server Admin Portal.
- You can alternatively find it in the Entra Admin Center by following the steps on this guide: Find your Microsoft 365 tenant ID
Enabling Cross Tenant for your Tenant
This first step will require a Global Administrator (likely your IT Administrator) to enable Cross Tenant to be configured. This will only need to be done once. To enable Cross Tenant Support:
- Go to the Dedicated Server Admin Portal
- Sign in with your Global Administrator Account
- Go to Settings in the upper right
-
Turn on "Allow Cross Tenant Servers"
Note: if "Allow Teachers to Manage Servers" is on, they will also be able to send and accept cross-tenant invitations!
Set up using the Admin Portal
To send an invite to another tenant when creating a new server:
- On the host's end, create a server as normal on the Dedicated Server Admin Portal
- Enter the IP of the server, the port, configure chat settings, and world generation settings per normal.
-
On the second page (after the server downloads), select "Sharing Enabled" then select Save
-
Then on the server list page, find your server and select "Cross-Tenant Sharing"
-
Input the invitee's Tenant ID and select "Send Invite"
- Read and accept the Inter-School Protection Agreement, Compliance with Applicable Data Laws, and the Code of Conduct, then click Continue
- If successful you should see this message:
- Now the Invitee will need to accept the connection
- Log into the Dedicated Server Admin Portal with an account that has access.
-
When you sign in you should see a popup informing you an invite has been sent. If you do, select "Show Invite(s)"
-
If you don't see that pop up, you can also select the envelope toward the upper-right next to the search bar
-
- In the window that appears, accept or decline the invitation(s).
-
Note: you can also mass accept or decline all invitations at one time if you have a lot of them using the buttons at the bottom.
'
- After confirming your selection.
- The invite has now been accepted, and users within the other tenant can join this server!
-
-
The Invitee can individually control if the server is enabled or broadcasted for their users. It will appear on their server list as a "Shared" server. Chat settings and Passcode can only be configured by the host.
Revoking an Invite in the Admin Portal
If the time comes to revoke the invite of the other tenant, you can revoke their access at any time by following these steps, depending on if you're the host, or the invitee:
As the host:
- The host tenant should log into the Dedicated Server Admin Portal
- In the server list, find your server and select "Cross Tenant Sharing"
-
Select the tenant to revoke in the list or revoke all connections using the buttons at the bottom.
As the Invitee:
- The host tenant should log into the Dedicated Server Admin Portal
- In the server list, find the server and select "Remove Connection" then "Disconnect"
- The server is now disconnected. If you wish to reset it later, you'll need to receive a new invite.
Set up using the Tooling and Scripting Notebook
Creating and accepting invites can also be done in the Tooling and Scripting Notebook using the steps below:
- The host will need to create an invite by:
- Sign into the Tooling and Scripting Notebook using the steps here: Tooling setup and sign in
- Once Authenticated, obtain your server ID from the "fetch_server_info" cell.
-
Then provide your ID and the invitees Tenant ID into the "create_server_invite" cell and run it to create an invite
- Provide the Server ID to the Invitee.
- Then on the invitee side:
- Sign into the Tooling and Scripting Notebook using the steps here: Tooling setup and sign in
- Once Authenticated, scroll down to the "accept_server_invite" cell.
-
Then input the Server ID provided and run the cell.
Revoking an Invite in the Tooling and Scripting Notebook
The Tooling and Scripting guide can also be used to revoke access to the server using the steps below:
- As either the host or invitee, sign into the Tooling and Scripting Notebook using the steps here: Tooling setup and sign in
- Scroll down to the "remove_server_connection" cell
- Input the server's ID and run the cell.
The connection is now removed!