Forum Discussion
Anonymous
4 years ago6 minutes ago, mhashemi said:Because I don't know where, in the group structure, the Exchange servers are located. For example, "Customer" could have "Location A" and "Location B" subgroups, each of which could have "Linux" and "Exchange" subgroups. Maybe they also have an Exchange server directly in the "Customer" folder. I could recursively search for subgroups, then for each one, use the endpoint you suggested, but that seems inefficient.
So create a dynamic group under "/Devices by Type" and query that group's membership from the API?