RadhikaMendhe-8136 avatar image
0 Votes"
RadhikaMendhe-8136 asked PrithviKamble-MSFT-9239 commented

how to add activityType in app manifest

Post:{ {TeamId}}/sendActivityNotification
"topic": {
"source": "entityUrl",
"value": "{teamid}"

 "previewText": {
     "content": "New Task Created"
 "recipient": {
     "@odata.type": "microsoft.graph.aadUserNotificationRecipient",
     "userId": "232454678"
 "templateParameters": [
         "name": "taskId",
         "value": "12322"


when i try to send notification to msteam bot using graph api(postman) it gave me below type of error ,so how to resolve this problem.

"error": {
"code": "BadRequest",
"message": "Specified activity with type 'message' could not be found in the app manifest.",
"innerError": {
"date": "2021-09-08T10:15:35",
"request-id": "1042e7c5-38b4-4c38-8e32-15970f668121",
"client-request-id": "1042e7c5-38b4-4c38-8e32-15970f668121"

· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

According to your description, your requirement is more related to Grasph API, which is not supported by us. I will change office-teams-windows-itpro tag to office-teams-app-dev tag. Someone checking this tag will give you more insights. Thanks for your understanding.

0 Votes 0 ·

Hi @RadhikaMendhe-8136 ,
Can you confirm if you trying to upload the app from app studio ? App studio removes the activities part from the manifest which can cause this error. Please confirm on this and let us know.


0 Votes 0 ·
RadhikaMendhe-8136 avatar image RadhikaMendhe-8136 PrithviKamble-MSFT-9239 ·

yes, it removed activities part after i add in manifest file ,so what to do now?

0 Votes 0 ·
Show more comments

0 Answers