Accessing forms responses using client credentials GraphAPI

Rebecca 0 Reputation points
2024-04-22T04:49:58.2133333+00:00

I am able to access my Microsoft group form responses when generating the access token using my own user name and password as parameters - however I would like to be able to access these responses when using client_credentials as the parameter.

What permissions are needed? At the moment when I pass the client_credentials it just returns null

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,645 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yakun Huang-MSFT 235 Reputation points Microsoft Vendor
    2024-04-22T10:09:46.1033333+00:00

    Hi @Rebecca,

    If you need to use the client credential flow to get a group, the permissions required are shown in the following image, and the minimum permission you should grant is GroupMember.Read.All.

    1

    Please check the link for more details:

    https://learn.microsoft.com/en-us/graph/api/group-list?view=graph-rest-1.0&tabs=http

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    0 comments No comments