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

  1. 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

  2. The file will contain four properties:
    tenant-id
    client-id
    client-secret
    redirect-uri
  3. 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.
  4. Remove the values for the client-id and client-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"
    }
  5. Save the file.
  6. In IIS recycle the SquaredUp DS application pool for the setting to take effect (How to check and modify the application pool identity).
  7. 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.

Was this article helpful?


Have more questions or facing an issue?