Connect to WeChat Enterprise Address Book
Get WeChat Enterprise Development Configuration
Configure WeChat Enterprise Address Book in GenAuth
Synchronize Organization from WeChat Enterprise to GenAuth
Open Organization Data Using LDAP Protocol (Optional)
Get Enterprise WeChat Development Configuration
- Get Enterprise ID (CorpId)
Click My Enterprise first-level menu, you can find the enterprise ID (CorpId) at the bottom of the Enterprise Information page:

- Enable "Address Book Synchronization" API interface synchronization
Click Management Tools first-level menu, select Address Book Synchronization:

Click "Enable API Interface Synchronization"

- Get "Address Book Synchronization" development Secret

- Set up the receiving event server
Click Re-obtain to randomly generate a Token and EncodingAESKey (you can also choose to generate it yourself).

The URL needs to be filled in with a link that meets the following format:
https://core.genauth.ai/connections/enterprise/wechatwork/<YOUR_USERPOOL_ID>/<YOUR_WECHATWORK_CORPID>/callback
Replace YOUR_USERPOOL_ID with the user pool ID and YOUR_WECHATWORK_CORPID with the enterprise ID of WeChat for Enterprise ID (CorpId), for example:
https://core.genauth.ai/connections/enterprise/wechatwork/59f86b4832eb28071bdd9214/ww736adab7f131153d/callback
Click Save at this time and an error message "openapi callback address request failed" will appear:

This is normal because we have not yet filled in the enterprise WeChat development configuration into GenAuth, see below for details.
