How to get data from Microsoft Forms by API

Kamil Włodarczyk 0 Reputation points
2024-10-23T12:25:12.5366667+00:00

I am trying to connect my app to MS Forms to get responses of forms. I want to create application that provide authorization to Microsoft by msal and after user confirmation, give access to his Forms. I registered app in Azure in section "App registration" but I can not see any permission to MS Forms. Even on Graph there is only "OrgSettings-Forms.Read.All" and it is not solving my problem. I tried graph api and forms api (I am not sure is it official) "https://forms.office.com/formapi/api/" but there I need form id which I dont have any idea where I can get. Is there any way to do such job? Is there any API that helps to do it? Maybe on Azure I can do something to have connection to MS Forms by Graph or something, because I see that people have such permissions.

Microsoft Security Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-10-24T02:16:20.47+00:00

    Hello Kamil Włodarczyk,

    Thank you for reaching out to Microsoft Support!

    Unfortunately, the Graph API currently does not provide an API for connecting to MS forms. As an alternative, you could maintain your own data source of the form response by using LogicAPP or using Power Automate (Formerly Called as MS Flow)

    You can refer to this case for details:

    https://stackoverflow.com/questions/65697550/call-ms-graph-api-to-collect-online-ms-form-responses

    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.

    0 comments No comments

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.