Forum Discussion
Unable to Add Tabs to Chats Consistently in Teams via GraphAPI
Hey Nivedipa-MSFT , yes it keeps on happening on all our environments.
A few things I forgot to mention in my previous message:
The user id from the error message does not seem to correspond to any of our user on the given tenant, in the example above, the error points to a call to users/c0cfdd6b-d64d-42e1-8111-0881725f68ff:
https://graph.microsoft.com/v1.0/users/c0cfdd6b-d64d-42e1-8111-0881725f68ff/licenseDetails?$select=skuId,skuPartNumber,servicePlans
c0cfdd6b-d64d-42e1-8111-0881725f68ff does not match any user of even app/entity in our tenant.
And the property from the body in the JSON object was concealed:
"teamsApp @ odata . bind" // adding spaces so it is not seen as an email address, hopefully.
- Nivedipa-MSFTApr 29, 2025
Microsoft
The error message shows that the user ID c0cfdd6b-d64d-42e1-8111-0881725f68ff doesn't match any user in your tenant. This might happen if the user ID is wrong or if the user has been deleted. Please double-check the user ID and make sure it exists in your Azure Active Directory (AAD).
If the user ID is correct, check that your application has the right permissions to access user details in AAD. Sometimes, not having enough permissions can cause this error.
The error with "teamsApp @ odata . bind" suggests there might be a syntax issue in your request. Make sure the property name is formatted correctly. For example, it should look like this: "teamsApp@odata.bind": "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/{appId}".
Don't forget to replace {appId} with the actual ID of the Teams app you want to bind.
- CedricZimmermannMay 05, 2025Brass Contributor
Hey Nivedipa-MSFT !
Where is this user coming from? As I said, we're trying to add a tab to a chat via a GraphAPI call using application (and not delegated) permissions.
We didn't change anything on our tenants and it stopped working on all our tenant at the same time. Could it be related to a change on your side?There is no error with email address removed for privacy reasons, it's just this forum that removed it from my initial message because it looks like an email address. There can't be any error associated with that, this is the JSON payload that we send.
- Nivedipa-MSFTMay 06, 2025
Microsoft
@CedricZimmermann - Could you please share the request ID, timestamp, and tenant ID for the failed request so we can investigate further?