Forum Discussion
API to access MS forms
Looking forward to seeing what you come up with. Power Automate is often just to picking up that a form was submitted. So I'm looking at alternatives. Thanks.
I need a Microsoft Forms API so that I can programmatically create new forms/polls and add them to every Microsoft Teams meeting/invite or click a button during Teams meeting to send form out to all attendees. Each meeting should be able to use a same/similar forms template but generate a new form so that CEO can poll attendees and graph responses. It seems this capability should be here already. Would be nice to be able to generate the form from a forms template on the fly and provide a Microsoft Forms bot to deliver the poll to the user in an interactive format.
- badsectorFeb 24, 2021Brass Contributor
JTAPPS-1exactly what I'm trying to do - programmatically create a microsoft form. After that I can use Logic Apps for example, but the creation of the form is what I'm missing. Simply put I have some variables in powershell that I want to become a microsoft form.
- lamwMar 05, 2021Copper Contributor
badsector JTAPPS-1 +1 to having Microsoft Forms API to be able to programmatically create forms. I've personally found the "branching" feature to not be very intuitive and more importantly error prone for creating more complex forms. I was hoping once I figured out high level details, that I could build the form much faster using automation. Perhaps even PowerShell cmdlets but would be okay with just REST API. This topic was extremely difficult to search for online and had to go through multiple forums to eventually land here which sounds like such an API does not exists
- pjjohnsonOct 06, 2021
Microsoft
https://forms.office.com/formapi/api
Having opened https://forms.office.com you can then open the API link in another tab, or you can create an App Reg to call the API. BTW - you can use https://jsonformatter.org/ to copy the raw JSON and see it pretty. Add /forms to the API link to see you forms.
I need to do more work as to the automation opportunities with these APIs (or limitations).