Forum Discussion

keithfable's avatar
keithfable
Brass Contributor
Jan 17, 2024

Using TeamsActivity.Send.User RSC permission to send activity notifications

Hi,

 

I am attempting to send activity notifications to a test user, using the TeamsActivity.Send.User RSC permission.  I have updated my manifest.json and verified the permission grants via Graph API, per the documentation.  However I get an error like the following every time:

 

Forbidden: Missing role permissions on the request. API requires one of 'TeamsActivity.Send, TeamsActivity.Send.Group'. Roles on the request ''. Resource specific consent grants on the request ''. 

 

Here's a gist showing my manifest, permission grant response and a simple python script showing how I am fetching the token and making the request.

 

https://gist.github.com/keeth/526665657de6f618fc8101f825a23bbc

 

I would love some guidance here, or things to check in case I am missing something. Thanks!

Resources