Get all Yammer users through the Yammer REST API with PowerShell
- Access the Yammer REST API through PowerShell
- Delete a Yammer message through the Yammer REST API with PowerShell
- Get all Yammer messages through the Yammer REST API with PowerShell
- Working with groups using the Yammer REST API and PowerShell
- Get all Yammer users through the Yammer REST API with PowerShell (this post)
- Manage the group memberships using the Yammer REST API and PowerShell
- Working with users using the Yammer REST API and PowerShell
- Search in Yammer through the Yammer REST API with PowerShell
The Yammer REST Api allows you to return users through the interface described here. A call to that API returns a batch of 50 users. You need to call multiple times the API to get all your users from the directory if you have more than 50.
Therefore, I created a PowerShell snippet that is doing the necessary Yammer API calls to return you the complete list of users you have in your network. Please note that this script is not considering the REST API and Rate Limits.
You can generate the baerer token (access token) as described in this post.
Always consider the REST API and Rate Limits when accessing a Yammer network.
- Access the Yammer REST API through PowerShell
- Delete a Yammer message through the Yammer REST API with PowerShell
- Get all Yammer messages through the Yammer REST API with PowerShell
- Working with groups using the Yammer REST API and PowerShell
- Get all Yammer users through the Yammer REST API with PowerShell (this post)
- Manage the group memberships using the Yammer REST API and PowerShell
- Working with users using the Yammer REST API and PowerShell
- Search in Yammer through the Yammer REST API with PowerShell