Hello! What is the best way to get a list of all clients in a group policy? Or alternatively the group policy of all clients?
I've tried a couple things, but haven't found a great way to do this.
While Get Network Clients shows the 802.1x policies groupPolicy8021x if available (curiously, Get Network Client does not), neither include the Meraki group policy.
It appears the only way to get a client's group policy is to use Get Network Client Policy, which gives a Meraki groupPolicyId. However, this is a single-client endpoint, so I'd have to iterate and request that for each and every client in the network. For a network with 1500 clients in the timeframe, and the (reasonable) 5 requests per second rate limit, this would take about 5 minutes.
Is there a better way to do this?
If not, a question for the API team:
What is the feasibility of adding groupPolicyId to the GetNetworkClient/s endpoints?
Also, not as sure about this, but perhaps Get Network Group Policy could include an array of client IDs?
This would help with a couple previous posts as well:
Meraki API Noob - Adding a client to a group policy in multiple MR networks - Please help!
Apply device policy across multiple networks