Creating Microsoft Teams Shared Channel fails with the message Failed to execute GetLicenseTypeAsync

SanderS 61 Reputation points
2025-06-17T07:32:24.2966667+00:00

Hi, since Yesterday we see on multiple tenants an issue with creating Microsoft Teams Shared Channels. When creating the Shared Channel it fails with the following message:

Failed to execute GetLicenseTypeAsync.

This was working on all tenants before Yesterday but now failing without any change on our side on the calling code.

We are using the Graph URL teams/82d9ec5e-8d98-4141-8d23-xxxxxx/channels with a POST call to add the channel. The POST call contains the following body shown below. I also tried with different owners and with and without members, all with the same results.

{
	"membershipType": "shared",
	"members": [
		{
			"******@odata.bind": "https://graph.microsoft.com/v1.0/users('******@Domain.onmicrosoft.com')",
			"roles": [
				"owner"
			],
			"@odata.type": "#microsoft.graph.aadUserConversationMember"
		}
	],
	"@odata.type": "#Microsoft.Graph.channel",
	"description": "Shared channel provisioned by the automated regression tests",
	"displayName": "My Shared Channel"
}

The result of the call is als shown below.

{
	"error": {
		"code": "NotFound",
		"message": "Failed to execute GetLicenseTypeAsync.",
		"innerError": {
			"code": "Unknown",
			"message": "Failed to execute GetLicenseTypeAsync.",
			"date": "2025-06-17T07:21:53",
			"request-id": "99e76ecb-3b09-41b8-a711-20944e121ff7",
			"client-request-id": "99e76ecb-3b09-41b8-a711-20944e121ff7"
		}
	}
}

Does anyone have an idea what is going on and if there is a work around before Microsoft fixes this issue?

Microsoft Teams Development
{count} votes

3 answers

Sort by: Most helpful
  1. Benjamin 5 Reputation points
    2025-06-18T07:22:11.54+00:00

    we have the same issue on multiple Tenants. It seems to be a bug in the Graph

    1 person found this answer helpful.

  2. Gabriel-N 1,715 Reputation points Microsoft External Staff Moderator
    2025-06-17T13:12:42.31+00:00

    Hi @SanderS

    Thank you for posting your question in the Microsoft Q&A forum, and for reaching out regarding the issue you're encountering with creating a shared channel in Microsoft Teams. I'm sorry to hear you're facing these challenges and it’s completely understandable how frustrating and confusing this situation can be. 

    I appreciate you sharing part of your main code. To assist you more effectively, could you please provide the complete code, maybe via private message? This will allow me to conduct a more thorough review and offer more accurate guidance. 


  3. Gabriel-N 1,715 Reputation points Microsoft External Staff Moderator
    2025-06-23T14:16:07.0466667+00:00

    Dear SanderS and all community members concerned with this issue,  

    First and foremost, thank you for your continued engagement and for sharing your valuable feedback regarding the challenges encountered with Microsoft Teams, specifically around the creation of shared channels via Microsoft Graph API. Your contributions have been instrumental in helping others navigate this issue, and we’d like to extend special thanks to Benjamin and christian zuellig for their thorough testing and insights.  

    Benjamin and Christian have tested the creation of shared channels using both the v1.0 and beta endpoints with App-Only permissions (Group.ReadWrite.All). Unfortunately, all attempts resulted in failure due to an error associated with the GetLicenseTypeAsync function. Their analysis indicates that the license check is being performed against the authentication token of the app, rather than the user specified in the request body. Interestingly, when the same request is executed using Delegated Permissions, on behalf of a user with a valid Teams license, the shared channel is created successfully.  

    We sincerely apologize for the inconvenience and truly appreciate your patience. Please note that, as forum moderators, we are not able to escalate or directly implement a fix. In the meantime, for urgent scenarios, using Delegated Permissions may serve as a temporary workaround. 

    Thank you once again for your collaboration and ongoing support. Please continue to share any additional findings or suggestions, your input is invaluable to the community.  

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.