How to change the Azure Tenant
To change the Azure Active Directory tenant that your instance of SquaredUp DS is using, you will need to modify the tenant-id
in the openid.json
on the SquaredUp server and then recycle the SquaredUp DS application pool.
You will need to connect to your SquaredUp server (How to connect to your SquaredUp server).
Changing the tenant ID
- On the SquaredUp server, run notepad as administrator (File, Run, type
notepad
, and then right-click and select Run as administrator). With notepad in administrator mode, open the following file in the SquaredUp DS folder:...\User\Configuration\openid.json
Name of the SquaredUp folder
Location of the SquaredUp folder
If you deployed SquaredUp DS via the Azure Marketplace:
The default location for the SquaredUp folder is
F:\
.SquaredUpv[Version Number]
For v5 it isF:\SquaredUpv5
and for v4F:\SquaredUpv4
.If you installed SquaredUp DS using the installer:
A custom location may have been chosen during the installation.
The default location for the SquaredUp folder is
C:\inetpub\wwwroot\SquaredUp
For v5 it is
C:\inetpub\wwwroot\SquaredUpv5
and for v4C:\inetpub\wwwroot\SquaredUpv4
. - The file will contain four properties:
tenant-id
client-id
client-secret
redirect-uri - Replace the
tenant-id
property with the ID of the new tenant you wish to use.
You can find the tenant ID that the Azure portal is using from the Azure portal Azure Active Directory > Tenant ID and clicking Copy to clipboard. - Remove the values for the
client-id
andclient-secret
properties. Your file will look something like this:{ "tenant-id": "a3b25c6f-1fa0-4ec1-8cda-6240690e021e", "client-id": "", "client-secret": "", "redirect-uri": "https://squaredup.contoso.com" }
- Save the file.
- In IIS recycle the SquaredUp DS application pool for the setting to take effect (How to check and modify the application pool identity).
- If you now browse to SquaredUp DS, you will be prompted to re-complete the Azure AD Setup with your new tenant. You will need a global admin user to run the setup wizard.