logo
search
Others

Can You Dynamically Create Microsoft Forms with C# MVC?

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

Question details

The user wants to programmatically generate Microsoft Forms featuring text boxes, dropdowns, multiselect controls, and prefilled answers using an ASP.NET MVC application.

Product
Microsoft Forms
Device & OS
not provided
Scenario
Building an automated C# ASP.NET MVC application to dynamically create and distribute forms, as well as process user responses directly into a database.
Observed behavior
Seeking a way to use a Microsoft API for dynamic form creation, but Microsoft Forms currently does not expose a public API for these specific requirements.
Before you start

Before planning your application architecture, verify the current capabilities of the Microsoft Graph API, as programmatic support for Microsoft Forms is highly restricted.

Solution 1Recommended

Understand Microsoft Forms API Limitations

Currently, Microsoft Forms does not support dynamic creation via a Generally Available (GA) API.

Microsoft Forms does not provide a generally available Microsoft Graph API for dynamically creating forms, modifying questions, or pre-filling responses. Any attempt to programmatically generate complete MS Forms with text boxes, dropdowns, or multiselect controls directly from an ASP.NET MVC application will hit API limitations.

1
Check Microsoft Graph Documentation

Visit the official Microsoft Graph API documentation to verify the latest endpoints available for Microsoft Forms. You will find that write access for form creation is absent.

2
Review Supported Actions

Note that while you can sometimes read responses or configure basic webhook events, dynamic form creation (creating a new form template programmatically) is not supported for general production use.

Free Microsoft Office alternative

Need a Powerful Office Suite for Your Development Team?

While building custom web solutions and managing complex MVC architectures, you might need a reliable office suite to handle project documentation, database exports, and API specifications. WPS Office is a lightweight, highly compatible alternative to Microsoft Office that is perfect for developers.

  1. 1. Visit the Official Website: Navigate to the official WPS Office website to download the free installation package tailored for your operating system.
  2. 2. Install the Suite: Run the downloaded installer and follow the straightforward on-screen instructions to set up the software.
  3. 3. Open Existing Office Files: Launch WPS Office and instantly open your existing Microsoft Office documents without any formatting loss or compatibility issues.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight application that won't slow down your development machine or consume excessive RAM.Built-in PDF editing tools ideal for managing API documentation and project specs.Free to use with a familiar, easy-to-navigate tabbed interface for seamless migration.
microsoft office alternative - wps office

Frequently Asked Questions

Is there a Microsoft Graph API endpoint to create Microsoft Forms?

No, there is currently no generally available Microsoft Graph API endpoint that allows developers to dynamically create, structure, or modify Microsoft Forms.

Can I pre-fill Microsoft Forms using URL parameters?

Microsoft Forms does not natively support pre-filling standard form fields via URL parameters in an officially supported way for automated dynamic distribution.

What is the best alternative to dynamically creating MS Forms in C#?

The most reliable alternative is to design custom dynamic forms directly within your ASP.NET MVC application using Razor views and HTML controls, giving you complete control over data binding and backend database logic.