question

TarunGeorgeKoshy-6559 avatar image
0 Votes"
TarunGeorgeKoshy-6559 asked PrithviKamble-MSFT-9239 commented

Clarification on Chat-GetAllMessages() endpoint

Hi,

This is about the chats-getallmessages endpoint. While using local environment, I am able to fetch the messages through the endpoint. However, in a customers environment it doesn't seem to be working. I can confirm that the necessary permissions(Chat.Read.All and Chat.ReadWrite.All) have been added, the id in /users/{id} is valid and the protected APIs request has been approved. I can't get exact error message/ status code being thrown. Is there any setting which could prevent the request from going through?

On that note, it is mentioned in the documentation of the endpoint that "APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported". Does this mean that beta applications won't return data in "production" applications? If so, I would like to know how an app would be considered production and another not because I couldn't find any information on

Thanks!


office-teams-app-devmicrosoft-graph-teamwork
· 1
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.

Hi @TarunGeorgeKoshy-6559 ,
Can you share details on what error you are getting or request response header's for debugging.


Thanks

0 Votes 0 ·

1 Answer

RamjotSingh avatar image
1 Vote"
RamjotSingh answered

Has the tenant you are using the app in consented to the application? If not please follow https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/grant-admin-consent

The beta warning basically says that changes can be made to API. We tend to avoid any breaking changes but they are certainly a possibility in /beta (vs /v1.0 where we do not make such changes, but that also means you might not get new features).

Apps in themselves are not production or non-production.

To assists in debugging please log client-request-id and request-id response headers and share with us.

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.