Forum Discussion
StarLeaf + Teams integration
Hi Dino,
This problem happens because the person trying to connect StarLeaf to Microsoft Teams doesn’t have enough permission.
Only a Team Owner or a Microsoft 365 Admin can finish the StarLeaf setup.
If a normal member tries, they’ll see the “Something went wrong. Reinstall StarLeaf for Teams” message.
Here’s what to do:
- Check who owns the Team
- In Teams, go to the group → Manage team → Members.
- See if your user is an Owner.
- If not, make them an Owner temporarily, or ask an existing Owner or Admin to do the setup.
- Remove old StarLeaf setup
- Go to the Teams Admin Center → Manage apps → StarLeaf → Uninstall.
- Then visit https://myapps.microsoft.com, find StarLeaf, and click Remove access.
- Install StarLeaf again
- Use the official guide: https://support.starleaf.com/integrating/starleaf-for-microsoft-teams/.
- Make sure you use the integration token that was generated from the same company account (tenant) as the Teams group.
- Admin approval (very important)
- A Microsoft 365 Global Admin needs to approve StarLeaf’s access the first time.
- Without this approval, the connection can’t complete.
If it still doesn’t work, give StarLeaf Support your tenant ID and integration token ID, and tell them it’s an Integration Token Error.
In short:
Let a Team Owner or Microsoft 365 Admin do the setup using the correct token. That almost always fixes the problem.
How to check who owns the Team in PowerShell
- Open PowerShell (run as Administrator).
- Type the following command to connect to Microsoft Teams:
Connect-MicrosoftTeams
It will ask you to sign in — use your Microsoft 365 admin account. - Then run these commands:
# Find the Team
$team = Get-Team -DisplayName "<Team Name>"
# See who the Owners are
Get-TeamUser -GroupId $team.GroupId | Where-Object {$_.Role -eq "Owner"} - The list that appears shows all the Owners of that Team.
If your user’s name is not there, they can’t complete the StarLeaf integration. - Ask one of the Owners (or a Microsoft 365 Admin) to do the setup, or make your user a temporary Owner.
Summary:
The error happens because the user doesn’t have Owner rights.
The PowerShell steps above help you confirm who the Owners are, so the right person can finish the StarLeaf setup.