Share via

Error when send activity feed notification and teams app validation

Rich 20 Reputation points
2026-02-26T08:18:26.2766667+00:00

I have two accounts, one is for Azure which created the MS Entra App with permission "TeamsActivity.Send" which License is "Microsoft Entra ID Free". And The app support account type is "Multiple organizations".

User's image

Another is for MS 365 account with teams license which belonged to an Org.

I registered an teams app on https://dev.teams.microsoft.com/, and bound the teams app with the Application (client) ID which created on Azure. Then I uploaded it to my teams org.

User's image

I have two questions:

  1. About for teams app validation:
    1. I got an error after validation as following screenshot shows: User's image AzureAppId:'xxxxxxxxx-xxxx-xxxxx-5bfcc' should be registered as Multi-Tenant'. Actually, the Azure app is definitely Multii-Tenant. Why this error ? Should I register the Azure account with Teams account info ?
  2. About for teams activity feed notification: I have consented the Application type API permissions on Azure. Then I request the token by calling POST https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/token with body: --data-urlencode 'grant_type=client_credentials'
    --data-urlencode 'client_id=xxxxxxxxxxxxxxxxx'
    --data-urlencode 'client_secret=xxxxxxxxxxxxxxxx'
    --data-urlencode 'scope=https://graph.microsoft.com/.default Then I called send notification API, POST https://graph.microsoft.com/v1.0/users/{user-object-id}/teamwork/sendActivityNotification an error returned: "message": "Microsoft Teams hasn't been provisioned on the tenant. Ensure the tenant has a valid Office365 subscription.", Does the Azure account have to subscribe to the MS 365 license ?
Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kudos-Ng 14,515 Reputation points Microsoft External Staff Moderator
    2026-02-26T09:47:07.4966667+00:00

    Hi Rich,

    Thank you for posting your question in the Microsoft Q&A forum. 

    Could you please confirm whether the two accounts you mentioned (the Azure/Entra account used to create the app registration, and the Microsoft 365 account used in your Teams org) are in the same tenant (same directory), or in different tenants/directories?

    If the accounts are in different tenants (cross-tenant scenario), your concerns could potentially be explained as follows:

    Concern 1: App validation/upload across tenants & admin consent / service principal

    If you are uploading and validating the Teams app in Tenant B, but the Microsoft Entra app registration was created in Tenant A, then Tenant B must have a corresponding service principal for that multi-tenant application. In practice, this usually requires admin consent (in the Teams tenant) so the app is “known” in the tenant where you are validating and installing the Teams app. Otherwise, validation and other checks can behave as if the app is not properly configured for the target tenant.

    Concern 2: “Microsoft Teams hasn’t been provisioned on the tenant” indicates tenant subscription / Teams enablement

    The Graph error message you received explicitly states: “Microsoft Teams hasn’t been provisioned on the tenant. Ensure the tenant has a valid Office365 subscription.” This generally points to the fact that the tenant context used for testing (i.e., the tenant that issued your access token) must have a valid Microsoft 365 subscription that have Microsoft Teams enabled; otherwise, the tenant can effectively be treated as “not using Teams,” which can lead to the provisioning-related error you’re seeing.

    Looking forward your update on this issue.


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

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