Importing structure from Azure AD
Structure import from Azure Active Directory is available in the integration settings and can be configured in automatic mode on a schedule.
Import algorithm:
1) the system selects all users (included in the base DN and according to the filter Filter specified in settings or Group Id);
2) the system selects either all or filtered users;
1 method
3) the system analyzes the attributes id
, department
, manager
, manager.id
, manager.department
.
You can add a manager using API-request or Admin-center Azure;
4) the system builds a folder tree of structure based on the user-manager relationship.
For example:
user named user1 has the attribute department=department1
user2 has the attribute department1
user3 - department7
manager1 - department3
manager2 - department2
manager3 - department5
user1 has a manager called manager1
user2 has manager1
user3 - manager2
manager1 - manager3
manager2 - manager3
The system will build a folder tree:
department5
- department3
- department1
- department2
- department7
and will assign users to the folders:
manager3(department5)
- manager1(department3)
- user1(department1)
- user2(department1)
- manager2(department2)
- user3(department7)
2 method
3) the system analyzes the structure parameters that are transferred via symbol ";", pointing the way from the main folder to the user, for instance:
user1_foo.local - fieldDir0;fieldDir1
user2_foo.local - fieldDir0;fieldDir2
user3_bar.local - fieldDir0;fieldDir1
user4_bar.local - fieldDir0;fieldDir2
4) based on this, the system builds the following folder tree of structure:
- fieldDir0
-- user1, user3 (fieldDir1)
-- user2, user4 (fieldDir2)
5) the system synchronizes the AD tree with the tree in the system, that is, if the folder was deleted, added or moved, then the corresponding action will be performed in the Orgstructure of the system;
6) the system assigns users to the corresponding folders.