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
Where to find the SquaredUp folder
Name of the SquaredUp folder
The name of the SquaredUp folder is
SquaredUpv
followed by theproduct version number
.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 example, for SquaredUp DS for Azure v5 the default location isF:\SquaredUpv5
and for v4 .F:\SquaredUpv4
If you installed SquaredUp DS using the installer:
The default location for the SquaredUp folder is
C:\inetpub\wwwroot\SquaredUpv[Version Number]
, but a custom location may have been chosen during the installation.
For example, for SquaredUp DS v5 the default folder location isC:\inetpub\wwwroot\SquaredUpv5
and for v4 C:\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:Copy{
"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.
Comments
0 comments
Please sign in to leave a comment.