Azure in China (operated by 21 Vianet)

Azure in China is a service operated by 21 Vianet.

To configure the integration you must have Azure AD administrative access in order to create and configure a new App Registration

  1. Create credentials in (an 'app')
  2. Connect Trelica to your tenant using these credentials.

Register the app

  1. Login to and find App registrations:mceclip0.png
  2. Click New registration.
  3. Enter a name (e.g. Trelica)
  4. Choose Accounts in this organizational directory only (Single tenant)
  5. You do not need to enter a Redirect URI - just click Register to continue.

Configuring API permissions

    1. On the API permissions tab, click Add a permission
    2. Under the Microsoft APIs tab choose Microsoft Graph:
    3. Choose Application permissions search for each of the scopes in the table below and tick them, depending on the features you require:
      Core scopes
      AuditLog.Read.All Read audit log data
      Directory.Read.All Read directory data
      Group.Read.All Read all groups
      GroupMember.Read.All Read group memberships
      Reports.Read.All Read all usage reports
      User.Read.All Read all users' full profiles
      User.ReadWrite.All Update the profile of every user in the organization
      GroupMember.ReadWrite.All Read and write group memberships
      UserAuthenticationMethod.ReadWrite.All Read and write users' authentication methods
      RoleManagement.ReadWrite.Directory Read and write directory RBAC settings
    4. Click Add permissions
    5. Finally, click Grant admin consent:

Create a new secret

  1. Go to Certificates & secrets
  2. Click New client secret
  3. Give the secret a name (e.g. Trelica) and chose the Expiry duration that you are comfortable with (we recommend 12 or 24 months).
  4. Click Add

Collecting the IDs you need

You need three IDs which you can copy from

  1. From the Certificates & secrets tab copy the Client Secret Value (not the Secret ID)mceclip0.png

    The Client secret value will only be available for you to copy for a short period of time. If you are unable to view or copy it, then just create new one.

  2. From the Overview tab copy the Application (client ID) and the Directory (tenant) ID

Connect from Trelica

  1. In Trelica, go to Admin > Integrations >
  2. Click Connect and enter the IDs that you gathered earlier:
  3. Click Connect again.
  4. The integration will run in the background.


Was this article helpful?

0 out of 0 found this helpful



Please sign in to leave a comment.