-
Notifications
You must be signed in to change notification settings - Fork 1
Okta:MS Office 365:Associate groups and license grants
lbonanomi edited this page Oct 28, 2025
·
1 revision
curl -s -H "authorization: SSWS $OKTA_TOKEN" "https://corp.mongodb.com/api/v1/apps/0oa2n30od7HuXbPIf297/groups" | jq -r .[].id | while read id
do
NAME=$(curl -s -H "authorization: SSWS $OKTA_TOKEN" "https://corp.mongodb.com/api/v1/groups/$id" | jq -r .profile.name)
LICENSES=$(curl -s -H "authorization: SSWS $OKTA_TOKEN" "https://corp.mongodb.com/api/v1/apps/0oa2n30od7HuXbPIf297/groups/$id" | jq -r .profile.roles | tr "\n" ",")
printf "$NAME\t$LICENSES\n"
done
- Backup-and-Restore
- Console
- Emergencies
- Housekeeping
- Integrations-and-External-Programs
- Search
- Throttles
- Usage