Failed to execute Templates backend request in Powershell in Teams Module 2.5.0

%3CLINGO-SUB%20id%3D%22lingo-sub-2702888%22%20slang%3D%22en-US%22%3EFailed%20to%20execute%20Templates%20backend%20request%20in%20Powershell%20in%20Teams%20Module%202.5.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2702888%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAfter%20updating%20my%20Teams%20module%20in%20Powershell%20to%202.5.0%20I%20am%20now%20unable%20to%20create%20a%20Edu_Class%20Team.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENew-Team%20%3A%20Error%20occurred%20while%20executing%3CBR%20%2F%3ECode%3A%20BadRequest%3CBR%20%2F%3EMessage%3A%20Failed%20to%20execute%20Templates%20backend%20request%20CreateTeamFromTemplateRequest.%20Request%20Url%3A%20%3CA%20href%3D%22https%3A%2F%2Fteams.microsoft.com%2Ffabric%2Famer%2Ftemplates%2Fapi%2Fteam%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fteams.microsoft.com%2Ffabric%2Famer%2Ftemplates%2Fapi%2Fteam%3C%2FA%3E%2C%20Request%20Method%3A%20POST%2C%20Response%20Status%3CBR%20%2F%3ECode%3A%20BadRequest%2C%20Response%20Headers%3A%20Strict-Transport-Security%3A%20max-age%3D2592000%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2702888%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2702958%22%20slang%3D%22en-US%22%3ERe%3A%20Failed%20to%20execute%20Templates%20backend%20request%20in%20Powershell%20in%20Teams%20Module%202.5.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2702958%22%20slang%3D%22en-US%22%3EHello%2C%20your%20post%20suggest%20that%20you%20could%20do%20this%20before%202.5.0%20correct%3F%20I%20am%20not%20a%20Teams%20Edu%20admin%20but%20I%20replicated%20your%20error.%20It%20seems%20as%20if%20the%20creation%20%22New%22%20want%20the%20'Visibility'%20specified%2C%20but%20you%20cannot%20specify%20that%20to%20a%20Edu%20Class%20team%20according%20to%20the%20error%20message.%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20should%20open%20up%20a%20support%20ticket%20and%20while%20you're%20doing%20that%20revert%20to%20the%20previous%20module.%3C%2FLINGO-BODY%3E
New Contributor

Hello,

 

After updating my Teams module in Powershell to 2.5.0 I am now unable to create a Edu_Class Team.

 

New-Team : Error occurred while executing
Code: BadRequest
Message: Failed to execute Templates backend request CreateTeamFromTemplateRequest. Request Url: https://teams.microsoft.com/fabric/amer/templates/api/team, Request Method: POST, Response Status
Code: BadRequest, Response Headers: Strict-Transport-Security: max-age=2592000

3 Replies
Hello, your post suggest that you could do this before 2.5.0 correct? I am not a Teams Edu admin but I replicated your error. It seems as if the creation "New" want the 'Visibility' specified, but you cannot specify that to a Edu Class team according to the error message.

You should open up a support ticket and while you're doing that revert to the previous module.
Yes, this was working before 2.5.0. I will open a support ticket and revert back to the previous module in the mean time. Thank you!
Hello, is there Any update ? i'm facing the same issue running Version 2.3.1
Thank You