When you apply a Teams template to a department team, the expected channels may not appear. Instead, you see default channels like General, or channels from an older template version. This mismatch wastes time and forces manual channel creation for every new team.
The root cause is usually a stale template definition, a cached template view, or a policy that blocks channel creation. In some cases, the template JSON file itself contains errors that Teams silently ignores.
This article explains why templates fail, how to diagnose the exact cause, and how to fix the template so it creates the correct channels every time. You will also learn how to avoid common mistakes when editing template files.
Key Takeaways: Fixing a Teams Template That Creates Wrong Channels
- Teams admin center > Teams > Team templates > Edit: Opens the template editor where you can verify and correct the channel list.
- Template JSON file > “channels” array: The exact list of channels that Teams will create when the template is applied.
- Teams admin center > Teams > Team policies > Channel policies: Controls whether members can create or delete channels, which can block template channel creation.
Why Teams Templates Create the Wrong Channels
A Teams template defines the structure of a team, including its channels, tabs, and apps. When you apply a template, Teams reads the template definition and creates the team accordingly. If the template produces the wrong channels, the problem lies in one of three areas: the template definition itself, the cached view of the template, or a policy that restricts channel creation.
The most common cause is a template that was edited externally, for example through the Microsoft Graph API, but the change was not saved correctly. The template JSON file may contain duplicate channel names, invalid characters, or channels that exceed the 30-channel limit. Teams will silently skip invalid entries and create only the valid ones.
Another frequent cause is that the admin applies the template from the Teams client, which caches the template list. If the template was updated after the cache was built, the client may still show the old version. The fix is to refresh the client or use the admin center to apply the template.
Finally, a channel policy can block template channel creation. If the policy assigned to the team owner prevents channel creation, the template will only create the General channel. This happens silently, so you must check the effective policy for the owner.
Diagnose the Template and Policy Settings
Before editing anything, confirm which template version is being applied and which policies affect the team owner. Follow these steps to narrow down the cause.
- Open the template in the Teams admin center
Go to Teams admin center > Teams > Team templates. Find your department template and select Edit. Check the Channels section. If the channels listed here match what you expect, the template definition is correct. - Compare the template version with the applied version
In the template editor, note the version number. Then create a new team using this template. Immediately after creation, list the channels. If they differ, the template you edited may not be the one being applied, possibly because there are two templates with similar names. - Check the effective channel policy for the team owner
Go to Teams admin center > Users > Manage users. Select the team owner and view their assigned policies. Look at the Channel policies column. Open the policy and verify that Create channels is set to On. If it is Off, template channel creation will fail. - Refresh the Teams client cache
Close Teams completely. In Windows, right-click the Teams icon in the system tray and select Quit. Then restart Teams. This clears the cached template list.
Steps to Fix the Template and Create the Correct Channels
Once you know the cause, apply the appropriate fix. Use the following methods in order until the problem is resolved.
Method 1: Edit the Template in the Admin Center
- Sign in to the Teams admin center
Open a browser and go to admin.teams.microsoft.com. Use an account with the Teams Administrator or Global Administrator role. - Locate your department template
Go to Teams > Team templates. Use the search box to find the template name. Select it to open the details pane. - Edit the channel list
Select Edit. In the Channels section, remove any channel that should not exist. Add the missing channels by typing the channel name and selecting Add. You can also set channel visibility to Standard or Private. - Save and republish the template
Select Save. Teams will update the template version. Any new team created from this template will now use the corrected channel list.
Method 2: Update the Template JSON File
If you manage templates through the Microsoft Graph API, edit the JSON file directly.
- Export the current template
Use the Graph API endpoint GET /teamwork/teamTemplates to retrieve the template definition. Save the JSON response to a file. - Edit the channels array
Open the JSON file in a text editor. Locate the channels array. Each channel object must have a displayName and may include isFavoriteByDefault. Remove any duplicate or invalid entries. Ensure channel names are unique and do not exceed 50 characters. - Validate the JSON structure
Use a JSON validator to check for syntax errors. Common errors include missing commas, extra brackets, or unescaped quotes. Fix these before uploading. - Upload the updated template
Use the Graph API endpoint PUT /teamwork/teamTemplates/{id} to replace the template. Confirm the response contains the updated channel list.
Method 3: Adjust the Channel Policy
- Open the channel policy
Go to Teams admin center > Teams > Team policies > Channel policies. Select the policy assigned to the team owner. - Enable channel creation
Set Create channels to On. Also set Delete channels and Restore deleted channels as needed. Select Save. - Wait for policy propagation
Policy changes can take up to 24 hours to apply. For immediate testing, you can force a refresh by signing out and back into Teams.
If Teams Still Creates the Wrong Channels
Teams Shows Only the General Channel
When only General appears, the template channel creation is being blocked. This is almost always a policy issue. Verify that the team owner has the correct channel policy. Also check that the template does not contain more than 30 channels, because Teams will ignore channels beyond that limit.
Teams Creates Duplicate Channels
Duplicate channels appear when the template JSON contains the same displayName twice. Teams does not reject the duplicate during validation, but it will create only one channel. To fix this, edit the template and remove the duplicate entry.
Teams Creates Channels with Wrong Names
Wrong channel names usually come from a template that was copied from another department. The template may contain hard-coded names that do not match your department. Edit the template and change the displayName values to the correct names.
Teams Does Not Apply the Updated Template
If you updated the template but new teams still show old channels, the client cache is stale. Close Teams completely and restart. If the problem persists, sign out and sign back in to force a full refresh.
Template Channel Creation Options: Admin Center vs Graph API
| Item | Admin Center Editor | Graph API JSON File |
|---|---|---|
| Access | Teams admin center > Teams > Team templates | Graph Explorer or custom script |
| Channel limit | Up to 30 channels per template | Up to 30 channels per template |
| Validation | Built-in validation with clear error messages | Manual JSON validation required |
| Versioning | Automatic version increment on save | Manual version update in JSON |
| Error handling | Silently skips invalid channels | Silently skips invalid channels |
The admin center editor is safer for most admins because it prevents syntax errors. The Graph API is useful when you need to automate template updates across multiple tenants.
After fixing the template, create a test team to verify the channels. Check that every expected channel exists and that no extra channels appear. If the test passes, apply the template to the department team.
To avoid future problems, always edit templates through the admin center unless you need automation. Keep a backup of the working template JSON file. Review the channel list before saving any change.
For advanced control, use the Graph API to set the isFavoriteByDefault property on channels. This makes important channels appear in the user’s channel list without extra clicks.