@Mattw112 : Hey, I looked into the docs and tried few stuff,.

Using PowerShell you can only use this two values EDU_Class, EDU_PLC. 

 

But with Graph you can can create using custom template, it takes few minutes to reflect all changes but it work.

 

So, when you create template on Teams admin center, you get an Id of that template. (see screenshot) 

HunaidHanfeeMSFT_0-1630333470624.png

 

Use this Id in request body -> template@odata.bind like this:

 
{
"template@odata.bind": "https://graph.microsoft.com/v1.0/teamsTemplates('81e86602-a5b9-0000-a6c2-d3f28c576ee3')",
"displayName": "Beta Team",
"description": "My Class Description",
"members": [
{
"@odata.type": "#microsoft.graph.aadUserConversationMember",
"roles": [
"owner"
],
"user@odata.bind": "https://graph.microsoft.com/beta/users('ef16aa89-0000-0000-aebb-761b551577c0')"
}
]
}

 

Let us know if you have any query on this.

Thanks, 

Hunaid Hanfee 

-----------------------------------------------------------------------------------------------------------------

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. 

We support Ukraine and condemn war. Push Russian government to act against war. Be brave, vocal and show your support to Ukraine. Follow the latest news HERE