Is there any way to get a better understanding about why group.remove_users() would fail to remove member(s) of a group? The accounts in question are simply members of the group (not owner or group managers). The group in question actually contains no content and I'm using the owner of the group to connect to portal with the python API. If I login to portal with the same group owner account, I can interactively remove the user from the group.
INFO | 2020-07-27 07:57:38,431 | Begin synchronizing users for group: PBOT (1120)
INFO | 2020-07-27 07:57:38,438 | Querying existing membership...
INFO | 2020-07-27 07:57:38,938 | Group currently has 233 member(s)
INFO | 2020-07-27 07:57:38,970 | 2 user(s) will be removed from group
{'notRemoved': ['member1', 'member2']}
INFO | 2020-07-27 07:57:39,218 | No users will be added to group
Looking like user names are case-sensitive... can someone confirm?
Hi Mike,
In the Python API, you're correct that the usernames are case sensitive. This is different than in the user interface for ArcGIS Online.
Thanks,
Nico