@Kouadio ANDOKOU,
What type of town are you creating? It sounds like you might be generating an Application token. If that is the case, you'll find that much of the Teams API in Graph is not available to you. Graph really wants you to use User tokens which means your digital workers should have their own AD identities.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Original Message:
Sent: 08-06-2022 16:17
From: Kouadio ANDOKOU
Subject: Error When using Send Chat Message action of Microsoft Graph Teams API
Dear Team,
i m trying to send my first Teams Message with the Teams API.
i can generate the access token with the VBO Graph Authentication. but when im about to send a chat message i have the error below.
any ideay to fix it please.?
"Internal : Unexpected error Error during Web API HTTP Request
HTTP Status Code: 412
HTTP Response Content: {"error":{"code":"PreconditionFailed","message":"Requested API is not supported in application-only context","innerError":{"date":"2022-08-06T15:11:04","request-id":"e623181d-9c7f-4a69-8ead-4de0e74c3072","client-request-id":"e623181d-9c7f-4a69-8ead-4de0e74c3072"}}}"
------------------------------
Kouadio ANDOKOU
------------------------------