Forum Discussion

maram_akhil_21's avatar
maram_akhil_21
Occasional Reader
Feb 03, 2026

unable to send notification to teams channel using graph api

We tried to send notification to teams channel using microsoft graph api via python we can able to send to message to the channel but the notification is not getting triggered in the activity tab we have refered below documentation.

 

https://learn.microsoft.com/en-us/graph/api/team-sendactivitynotification?view=graph-rest-1.0&tabs=python

Also we don't need device authentication and browser authentication please share approach to bypass those things. below is the error we are facing.

raise exc

msgraph.generated.models.o_data_errors.o_data_error.ODataError:

APIError

Code: 403

message: None

error: MainError(additional_data={}, code='Forbidden', details=None, inner_error=InnerError(additional_dmsgraph.generated.models.o_data_errors.o_data_error.ODataError:

APIError

Code: 403

message: None

error: MainError(additional_data={}, code='Forbidden', details=None, inner_error=InnerError(additional_d APIError

Code: 403

message: None

error: MainError(additional_data={}, code='Forbidden', details=None, inner_error=InnerError(additional_d Code: 403

message: None

error: MainError(additional_data={}, code='Forbidden', details=None, inner_error=InnerError(additional_d message: None

error: MainError(additional_data={}, code='Forbidden', details=None, inner_error=InnerError(additional_d error: MainError(additional_data={}, code='Forbidden', details=None, inner_error=InnerError(additional_data={}, client_request_id='________-___-____-____-____________', date=datetime.datetime(2026, 2, 3, 14, 37, 8), odata_type=None, request_id='________-___-____-____-____________'), message="Application with AAD App Id '________-___-____-____-____________' is not authorized to generate notifications about 'https://graph.microsoft.com/v1.0/teams/6a6079bc-feaf-4865-bc21-1201b310c25c' to the recipient. Ensure that the expected Teams app is installed in the target scope (user, team, or chat).", target=None).

Please help us to resolve this issue.

No RepliesBe the first to reply

Resources