PowerTribeloo
is a PowerShell module to interact with service Tribeloo.
This module uses API exposed by Tribeloo and allows to Add, Get, Set and Remove users from Tribeloo.
This is unofiicial module and is not supported by Tribeloo, but it does work just fine.
Install-Module -Name PowerTribeloo -Force -Verbose
Connect to Tribeloo using token and URL. You can get token from your company's Tribeloo instance.
$connectTribelooUserSplat = @{
Token = 'eyJ0eXAiOiJKV1QiLCJhbGci'
Uri = 'https://<url of your company>.tribeloo.com/api/1.0/scim'
}
Connect-Tribeloo @connectTribelooUserSplat
Get all users
Get-TribelooUser -Verbose | Format-Table *
for ($i = 0; $i -lt 200; $i++) {
New-TribelooUser -Verbose -UserName "ziomek$i@bomon.pl" -DisplayName "Test"
}
Set-TribelooUser -Id '11105df0-31cf-11ed-ada4-2bbc677ce86d' -DisplayName 'New name' -FamilyName 'New namme' -EmailAddress '[email protected]'
Remove-TribelooUser -Id '11105df0-31cf-11ed-ada4-2bbc677ce86d' -Verbose