All Products
Search
Document Center

Secure Access Service Edge:Connect a WeCom IdP

Last Updated:Mar 31, 2026

Connect WeCom (企业微信) to SASE to sync your company's organizational structure and let employees log on to the SASE App using their existing WeCom accounts. After the connection is set up, you can:

  • Automatically sync your WeCom organizational structure and employee information to SASE

  • Apply identity-driven security policies based on your existing WeCom groups and users

  • Eliminate manual user provisioning in SASE

Limits

  • Up to 5 identity sources can be enabled at the same time.

  • Only 1 of the 5 can be a custom identity source.

  • If you've reached the limit, disable an existing identity source before enabling a new one.

Prerequisites

Before you begin, ensure that you have:

  • A WeCom administrator account — required to scan the authorization QR code

  • The Schema value for your organization — submit a ticket to contact SASE engineers to get this value before starting

Configure a WeCom identity source

Step 1: Create the IdP in SASE

  1. Log on to the SASE console.

  2. In the navigation pane, choose Identity Authentication > Identity Access.

  3. On the Identity synchronization tab, click Create IdP.

  4. In the Create IdP panel, select WeCom, click Configure, and set the following parameters.

    ParameterDescription
    IdP nameA display name for the WeCom identity source. Must be 2–100 characters and can contain Chinese characters, letters, digits, hyphens (-), and underscores (_).
    DescriptionA description shown as the logon title on the SASE client, providing identity source context during logon.
    IdP statusWhether the identity source is active after creation. Enabled: active immediately. Closed: inactive after creation.
    Important

    If you disable an identity source, employees cannot use the SASE App to access internal applications.

    Automatic synchronizationWhen enabled, the system syncs organizational structure from WeCom automatically at the configured interval. When disabled, you must trigger synchronization manually.
    Synchronize user informationWhen enabled, employee information is synced automatically based on the Automatic synchronization cycle. This setting has no effect if Automatic synchronization is disabled.
    Automatic synchronization cycleThe sync interval. Set a value from 1 hour to 24 hours.
  5. Click Obtain Authorization QR Code, then use your WeCom administrator account to scan the QR code.

  6. After authorization succeeds, the new WeCom identity source appears on the Identity synchronization tab.

Step 2: Configure the schema

  1. On the Identity synchronization tab, find the WeCom identity source and click Edit in the Actions column.

  2. In the Edit IdP panel, enter the Schema value.

    Important

    Submit a ticket to contact SASE engineers to get your Schema value before this step.

  3. Click Next.

Step 3: Configure synchronization scope and field mappings

In the Synchronization Settings wizard, configure the following settings, then click Confirm.

ParameterDescription
Organizational structure synchronizationDefines which parts of your WeCom org structure to sync. Synchronize all: syncs the entire organizational structure. Partially synchronize: select specific departments to sync.
Field synchronization mappingMaps fields from your WeCom organizational structure to SASE fields. If the built-in Local field after mapping fields don't meet your needs, click View extended fields in the upper-right corner to add, edit, or delete extension fields.

Step 4: Set the WeCom app visibility scope

After you add the WeCom identity source, SASE automatically creates a self-managed application in WeCom. Set the Visibility Scope for this application in WeCom to ensure the organizational structure syncs correctly to SASE.

For instructions on setting the visibility scope, see How to set the visibility scope for third-party applications.

View synchronization records

  1. On the Identity synchronization tab, find the identity source and click Synchronize Records in the Actions column.

  2. On the Synchronize Records page, click a task in the Synchronization Task area on the left to view its details on the right.

  3. Click Details in the Actions column to see the field-level comparison between Third-party Data Source and SASE Data Source for that synchronization.

image

Manual synchronization

If you didn't enable Automatic Synchronization when configuring the identity source, or if your organizational structure has changed and you need an immediate sync, click Create Synchronization Task, then click OK. Wait for the task to complete before viewing the synchronization records.

After synchronization completes, view the synced organizational structure and employee information on the Identity Authentication > Identity Access > Employee Center tab. For more information, see Employee Center.

Disable automatic synchronization

Use either of the following methods:

  • On the Identity synchronization tab, find the identity source and turn off the switch in the Automatic Synchronization column.

  • In the Edit IdP panel, turn off the automatic synchronization switch.

More operations

OperationSteps
Edit a WeCom identity sourceOn the Identity synchronization tab, find the WeCom identity source and click Edit in the Actions column.
Disable a WeCom identity sourceOn the Identity synchronization tab, find the WeCom identity source and turn off the switch in the IdP Status column.
Delete a WeCom identity sourceOn the Identity synchronization tab, find the WeCom identity source and click Delete in the Actions column.

What's next

Use a different identity source

If your company uses a different directory service, connect it to SASE:

Organize users outside the org structure

To create user groups that span departments or sit outside the synchronized organizational structure, see User group management.

References