Graph Api Authenctication for a (service account/just an user account)

Nithya Raghavendiran 21 Reputation points
2022-12-14T00:48:51.14+00:00

I need to use the list all chat messages api for a particular service account. For the azure app to access this api it would mean to get protected api permissions. How can I access this api on behalf of the service account itself instead of using the azure application?
Basically a delegated api access would be enough for my usecase.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bhanu Kiran 3,616 Reputation points
    2022-12-14T01:12:43.53+00:00

    Hi @Nithya Raghavendiran ,

    If you are looking to list chat messages using delegated permissions, you can do so by using Graph Explorer which uses Delegated permissions.

    Please refer to this document to for the permissions required to run this query.

    If you are looking to get messages across all chats, please note that this API is only supported with Application permissions, which is a Protected API.

    Hope this helps.
    If the answer is helpful, please click Accept Answer and kindly Upvote it. If you have any further questions about this answer, please click Comment.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.