User groups are empty for all the users of every tenant.

Hi,

I'm using the Common API to retrieve the users as a Partner, we have around 2K users for all our tenants.

But none of the user has any user group, it's always empty. When I query the user-group for a tenant, it's also empty.

https://api-{dataRegion}.central.sophos.com/common/v1/directory/user-groups

Is it normal?

Thanks,

Greg

Parents
  • Hi Greg, 

    It is only normal if at the tenant level there are no user groups created. If you go to one of the Sophos Central accounts in question, select People > Groups, do you see any groups listed there?

    I have tested this query and I get a response enumerating the groups I have listed in this section, and if there are any users assigned to such groups, then they will be listed there too. Here is a sample response:

    "items": [
            {
                "id""xxxxxxxxx",
                "name""Group 1",
                "displayName""Group 1",
                "description""",
                "groups": {
                    "total"0,
                    "itemsCount"0,
                    "items": []
                },
                "source": {
                    "type""custom"
                },
                "users": {
                    "total"1,
                    "itemsCount"1,
                    "items": [
                        {
                            "id""xxxxxxxxxxxxxxx",
                            "name""John Doe"
                        }
                    ]
                },
    Thanks

    Technical Account Manager  | Sophos Technical Support
    Support Videos | Product Documentation | @SophosSupport | Sign up for SMS Alerts
    If a post solves your question use the 'Verify Answer' link.

  • Thank you for your answer, this is clear now. Misunderstanding from my side.

Reply Children
No Data