-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't Retrieve More Than 1000 Slack Users #184
Comments
This is likely a PSSlack issue that is just being surfaced in PoshBot Can you try using PSSlack and getting all the users in your slack instance via that? |
Looking into this as mentioned it is an issue with PSSlack / the actual Slack API implementation for returning users |
Confirmed - this is not a PoshBot issue! Get-SlackUser only returns 1000 users. |
Probably an straightforward fix if someone wants to add paging support similarly to how I did it for channels. RamblingCookieMonster/PSSlack#90. We pin to a specific version of PSSlack so once that is released, we can bump the dependency and have it in the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Expected Behavior
PoshBot should be able to work with any number of users in the Slack workspace.
Current Behavior
PoshBot can only retrieve 1000 users.
Possible Solution
This is likely due to incorrect pagination via the Slack API.
Steps to Reproduce (for bugs)
Launch PoshBot and connect to a Slack workspace with > 1000 users.
Context
With the 1000 user limit, most users are not able to leverage the bot, we see errors that the user can't be identified. I'm in several Slack spaces with >1000 users so this would be a breaking issue.
Your Environment
PowerShell 5.1 on Windows Server 2019, same issue on Windows 10 1903.
The text was updated successfully, but these errors were encountered: