Forum Discussion
How to know a user has permission to create Team
- Sep 24, 2021
Umag98 - Please check the below options.
1) You can get the Auth token of the user and decrypt it & then you can check for user roles in it.You would find if Team.create permission is granted or not.2) other way is to run the command to create a Team & check for 403 ErrorThanks,
Meghana--------------------------------------------------------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
Umag98 - There is no graph API to know if a user can create a team.
Thanks,
--------------------------------------------------------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- Meghana-MSFTSep 24, 2021Former Employee
Umag98 - Please check the below options.
1) You can get the Auth token of the user and decrypt it & then you can check for user roles in it.You would find if Team.create permission is granted or not.2) other way is to run the command to create a Team & check for 403 ErrorThanks,
Meghana--------------------------------------------------------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- ChetanSharma-msftSep 25, 2021
Microsoft
Umag98 - Please let us know if you still need any help here?
Thanks,
Chetan Sharma
------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.