GAM-team / GAM

command line management for Google Workspace
https://github.com/GAM-team/GAM/wiki
Apache License 2.0
3.54k stars 473 forks source link

"print licenses" returning wrong numbers #1625

Closed jay0lee closed 1 month ago

jay0lee commented 1 year ago

gam print licenses

isn't returning all user licenses. It seems to be a paging issue. API claims it can support max 1,000 licenses per API page but when GAM sets maxResults=1000 the API says it's reached the end of pages to soon.

mig916 commented 1 year ago

I am seeing this issue as well.

taers232c commented 1 year ago

Have you updated to the latest version of GAM?

Ross

On Mon, May 1, 2023 at 8:12 AM mig916 @.***> wrote:

I am seeing this issue as well.

— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1625#issuecomment-1529820148, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL6XNTWJJEQSDK7GGLTXD7HG5ANCNFSM6AAAAAAXMMDAVE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

mig916 commented 1 year ago

Have you updated to the latest version of GAM? Ross On Mon, May 1, 2023 at 8:12 AM mig916 @.> wrote: I am seeing this issue as well. — Reply to this email directly, view it on GitHub <#1625 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL6XNTWJJEQSDK7GGLTXD7HG5ANCNFSM6AAAAAAXMMDAVE . You are receiving this because you are subscribed to this thread.Message ID: @.> -- Ross Scroggs @.***

I'll install 6.58 (missed that update)

mig916 commented 1 year ago

Have you updated to the latest version of GAM? Ross On Mon, May 1, 2023 at 8:12 AM mig916 @.**> wrote: I am seeing this issue as well. — Reply to this email directly, view it on GitHub <#1625 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL6XNTWJJEQSDK7GGLTXD7HG5ANCNFSM6AAAAAAXMMDAVE . You are receiving this because you are subscribed to this thread.Message ID: @.**> -- Ross Scroggs @.***

I'll install 6.58 (missed that update)

Success. Thank you