SOLVED

Teams tab activity permissions

%3CLINGO-SUB%20id%3D%22lingo-sub-2703082%22%20slang%3D%22en-US%22%3ETeams%20tab%20activity%20permissions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2703082%22%20slang%3D%22en-US%22%3E%3CP%3ETrying%20to%20add%20the%20option%20to%20send%20notifications%20to%20the%20activity%20feed%20as%20described%20here%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-gb%2Flearn%2Fmodules%2Fmsteams-teamwork-endpoint%2F7-exercise-activity-feed%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-gb%2Flearn%2Fmodules%2Fmsteams-teamwork-endpoint%2F7-exercise-activity-feed%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20azure%20portal%20I%20am%20adding%20this%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2FTeamsActivity.Send%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2FTeamsActivity.Send%3C%2FA%3E%26nbsp%3Bpermision%20and%20i%20my%20manifest%20added%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CSPAN%3E%22applicationPermissions%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%5B%3CBR%20%2F%3E%20%20%20%20%3CSPAN%3E%22https%3A%2F%2Fgraph.microsoft.com%2FTeamsActivity.Send%22%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3Bor%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CSPAN%3E%22applicationPermissions%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%5B%3CBR%20%2F%3E%20%20%20%20%3CSPAN%3E%22TeamsActivity.Send%22%3CBR%20%2F%3E%3C%2FSPAN%3E%5D%3C%2FPRE%3E%3CP%3EDouble%20checking%20that%26nbsp%3B%3CSPAN%3EwebApplicationInfo.id%20is%20the%20same%20as%20the%20one%20in%20Azure.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20am%20still%20getting%20the%20error%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22p1%22%3EPlease%20check%20the%20values%20of%20webApplicationInfo.id%20and%20webApplicationInfo.applicationPermissions.%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22p1%22%3EThe%20permissions%20does%20not%20show%20correctly%20during%20the%20installation%2C%20see%20attached.%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CH1%20id%3D%22toc-hId-1439853185%22%20id%3D%22toc-hId-1439853191%22%20id%3D%22toc-hId-1439853191%22%20id%3D%22toc-hId-1439853191%22%3E%26nbsp%3B%3C%2FH1%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2703082%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Epermissions%20Teams%20activity%20feed%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2707217%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20tab%20activity%20permissions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2707217%22%20slang%3D%22en-US%22%3EAdding%20the%20id%20for%3A%3CBR%20%2F%3EMicrosoft%20Teams%20mobile%20%26amp%3B%20desktop%20clients%2C%20Microsoft%20Teams%20web%20client%20seems%20to%20make%20the%20error%20go%20away%2C%20but%20I%20still%20do%20not%20understand%20why%20I%20see%20%22teamsactivity.send%22%20when%20intsalling%20the%20app%20and%20not%20the%20description%20as%20in%20the%20other%20permissions.%3C%2FLINGO-BODY%3E
Occasional Contributor

Trying to add the option to send notifications to the activity feed as described here:

 

https://docs.microsoft.com/en-gb/learn/modules/msteams-teamwork-endpoint/7-exercise-activity-feed

 

In the azure portal I am adding this https://graph.microsoft.com/TeamsActivity.Send permision and i my manifest added 

"applicationPermissions": [
"https://graph.microsoft.com/TeamsActivity.Send"

 or 

"applicationPermissions": [
"TeamsActivity.Send"
]

Double checking that webApplicationInfo.id is the same as the one in Azure.

I am still getting the error:

Please check the values of webApplicationInfo.id and webApplicationInfo.applicationPermissions.

 

The permissions does not show correctly during the installation, see attached.

 

 

 

4 Replies
Adding the id for:
Microsoft Teams mobile & desktop clients, Microsoft Teams web client seems to make the error go away, but I still do not understand why I see "teamsactivity.send" when intsalling the app and not the description as in the other permissions.
best response confirmed by someone_developing (Occasional Contributor)
Solution

@someone_developing 
The issues you are facing might be due to RSC permissions. The granular, Teams-specific, RSC permissions define what an application can do within a specific resource.
Enable resource-specific consent in Teams - Teams | Microsoft Docs
Please refer the below blog post as it clearly described how to use the RSC and the issues mentioned by you:
Microsoft Teams has a new, more granular AND resource-specific permissions model for apps! What is R...


Thanks, 

Prasad Das

---------------------------------------------------------------------------------------

If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. 

 

Thank you for the answer, we have decided not to move on with the activity feed app because we can not push the activity app notifications to everyone.

@someone_developing 
Thanks for confirming it back. If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.