You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`-h`<br />`--help`| Show this help message and exit. |
70
+
|`-v`<br />`--version`| Show program's version number and exit. |
71
+
|`-t`<br />`--test-mode`| Run API action calls in test mode (does not execute changes). Logs what would have been executed. |
72
+
|`-c`_filename_<br />`--config-filename`_filename_| The complete path to the main configuration file, absolute or relative to the working folder. Default filename is "user-sync-config.yml" |
73
+
|`--users``all`<br />`--users``file`_input_path_<br />`--users``group`_grp1,grp2_<br />`--users``mapped`| Specify the users to be selected for sync. The default is `all` meaning all users found in the directory. Specifying `file` means to take input user specifications from the CSV file named by the argument. Specifying `group` interprets the argument as a comma-separated list of groups in the enterprise directory, and only users in those groups are selected. Specifying `mapped` is the same as specifying `group` with all groups listed in the group mapping in the configuration file. This is a very common case where just the users in mapped groups are to be synced.|
74
+
|`--user-filter`_regex\_pattern_| Limit the set of users that are examined for syncing to those matching a pattern specified with a regular expression. See the [Python regular expression documentation](https://docs.python.org/2/library/re.html) for information on constructing regular expressions in Python. The user name must completely match the regular expression.|
75
+
|`--update-user-info`| When supplied, synchronizes user information. If the information differs between the enterprise directory side and the Adobe side, the Adobe side is updated to match. This includes the firstname and lastname fields. |
76
+
|`--process-groups`| When supplied, synchronizes group membership information. If the membership in mapped groups differs between the enterprise directory side and the Adobe side, the group membership is updated on the Adobe side to match. This includes removal of group membership for Adobe users not listed in the directory side (unless the `--adobe-only-user-action exclude` option is also selected).|
77
+
| `--adobe-only-user-action preserve`<br />`--adobe-only-user-action remove-adobe-groups`<br />`--adobe-only-user-action remove`<br />`--adobe-only-user-action delete`<br /><br/>`--adobe-only-user-action write-file` filename<br/><br/>`--adobe-only-user-action exclude` | When supplied, if user accounts are found on the Adobe side that are not in the directory, take the indicated action. <br/><br/>`preserve`: no action concerning account deletion is taken. This is the default. There may still be group membership changes if the `--process-groups` option was specified.<br/><br/>`remove-adobe-groups`: The account is removed from user groups and product configurations, freeing any licenses it held, but is left as an active account in the organization.<br><br/>`remove`: In addition to remove-adobe-groups, the account is also removed from the organization, but is left as an existing account.<br/><br/>`delete`: In addition to the action for remove, the account is deleted if owned by the organization.<br/><br/>`write-file`: the list of user account present on the Adobe side but not in the directory is written to the file indicated. No other account action is taken. You can then pass this file to the `--adobe-only-user-list` argument in a subsequent run.<br/><br/>`exclude`: No update of any kind is applied to users found only on the Adobe side. This is used when doing updates of specific users via a file (--users file f) where only users needing explicit updates are listed in the file and all other users should be left alone.<br/><br>Only permitted actions will be applied. Accounts of type adobeID are owned by the user so the delete action will do the equivalent of remove. The same is true of Adobe accounts owned by other organizations. |
78
+
|`adobe-only-user-list`_filename_| Specifies a file from which a list of users will be read. This list is used as the definitive list of "Adobe only" user accounts to be acted upon. One of the `--adobe-only-user-action` directives must also be specified and its action will be applied to user accounts in the list. The `--users` option is disallowed if this option is present: only account removal actions can be processed. |
127
79
128
80
# Configuration
129
81
130
-
See `examples/example.user-sync-config.yml` for the main configuration template. The main configuration file user-sync-config.yml must exist in the configuration path.
131
-
132
-
See `examples/example.dashboard-config.yml` for the dashboard configuration template. The tool would try and find dashboard-owning-config.yml in the configuration path.
133
-
134
-
See `examples/example.connector-ldap.yml` for the ldap configuration template. The main configuration file can be configured to reference this file.
135
-
136
-
82
+
See the `examples` directory for sample configuration files of all types. These sample files include all of the possible options with descriptions of them.
Copy file name to clipboardExpand all lines: docs/success-guide/command_line_options.md
+14-13Lines changed: 14 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,21 +34,22 @@ If you are managing licenses with user sync, include the option `--process-group
34
34
## Account Deletion
35
35
36
36
37
-
There are several command line options that allow you to specify the action to be taken when an Adobe account with no corresponding directory account is found (a “nonexistent” user).
38
-
Note that only the users returned by the directory query and filter are considered as "existing".
37
+
There are several command line options that allow you to specify the action to be taken when an Adobe account with no corresponding directory account is found (an “Adobe only” user).
38
+
Note that only the users returned by the directory query and filter are considered as "existing" in the enterprise directory. These options range from "completely ignore" to "completely delete" with several possibilities in between.
39
39
40
40
41
41
42
42
| Command line option ...........| Use when |
43
43
| ------------- |:-------------|
44
-
| None | No action desired on nonexistent users |
45
-
|`--remove-entitlements-for-nonexistent-users`\*| Adobe account to remain but licenses and group <br>memberships are removed. |
46
-
|`--remove-nonexistent-users`| Adobe account to remain but licenses, group memberships, and membership in this org to be removed |
47
-
|`--delete-nonexistent-users`| Adobe account to be deleted: remove from PLCs and user groups and <br>from the org; account deleted and all storage and settings freed. |
48
-
|`--generate-remove-list f`| No action to be taken on the account. User name written to file for later action. |
49
-
|`--generate-delete-list f`| No action to be taken on the account. User name written to file for later action. |
44
+
|`--adobe-only-user-action exclude`| No action desired on accounts that exist only in Adobe and have no corresponding directory account. Adobe group memberships are not updated even if `--process-groups` is present. |
45
+
|`--adobe-only-user-action preserve`| No removal or deletion of accounts that exist only in Adobe and have no corresponding directory account. Adobe group memberships are updated if `--process-groups` is present. |
46
+
|`--adobe-only-user-action remove-adobe-groups`| Adobe account to remain but licenses and group <br>memberships are removed. |
47
+
|`--adobe-only-user-action remove`| Adobe account to remain but licenses, group memberships, and listing in the Adobe Admin console are removed |
48
+
|`--adobe-only-user-action delete`| Adobe account to be deleted: remove from<br>Adobe product configurations and user groups; account deleted and all storage and settings freed. |
49
+
|`--adobe-only-user-action write-file f.csv`| No action to be taken on the account. User name written to file for later action. |
50
+
51
+
50
52
51
-
\* These options will be available in a future release.
52
53
53
54
## Other Options
54
55
@@ -61,13 +62,13 @@ Note that only the users returned by the directory query and filter are consider
61
62
62
63
A few examples:
63
64
64
-
`user-sync --users all --process-groups --remove-nonexistent-users`
65
+
`user-sync --users all --process-groups --adobe-only-user-action remove`
65
66
66
-
- Process all users based on config settings, update Adobe group membership, and if there are any users listed in the org that are not in the directory, remove them.
67
+
- Process all users based on config settings, update Adobe group membership, and if there are any Adobe users that are not in the directory, remove them from the Adobe side, freeing any licenses they may have been allocated. The Adobe account is not deleted so that it can be re-added and/or stored assets recovered.
- The file “example.users-file.csv” is read as the master user list. No attempt is made to contact a directory service such as AD or LDAP in this case.
71
+
- The file “users-file.csv” is read as the master user list. No attempt is made to contact a directory service such as AD or LDAP in this case. Adobe group membership is updated per the information in the file, and any Adobe accounts not listed in the file are removed (see definition of remove, above).
Copy file name to clipboardExpand all lines: docs/success-guide/decide_deletion_policy.md
+3-6Lines changed: 3 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,21 +10,18 @@ layout: default
10
10
When accounts are disabled or deleted from the directory you often want the corresponding Adobe account removed, but removing the Adobe account may delete assets, settings, etc. that are later needed. Also, Adobe Id accounts that may be in your organization cannot be deleted because the account belongs to the end user. However, licenses you granted to the Adobe Id user can be recovered when you want to remove that user from your organization.
11
11
12
12
13
-
14
-
15
13
Choices available for handling Adobe account deletion via User Sync:
16
14
17
15
- Take no action. Account cleanup must be handled manually.
18
16
19
17
- Generate list of accounts to be deleted, but no action is taken now. The list can be edited and later used to drive account deletion through User Sync.
20
18
21
-
- Recover all licenses given by your org to the account, but leave the account active. *
19
+
- Recover all licenses given by your org to the account, but leave the account active. (remove-adobe-groups)
22
20
23
-
- Recover all licenses and remove from your org, but leave account in existence.
21
+
- Recover all licenses and remove from your org, but leave account in existence. (remove)
24
22
25
-
- Recover all licenses and delete the account.
23
+
- Recover all licenses and delete the account. (delete)
0 commit comments