Microsoft Forms → OneDrive Dynamic Folder Structure

SAG unit Eng 0 Reputation points
2026-01-04T13:21:19.6433333+00:00

I have a Microsoft Form where:

The first question is used to select the subject/course name.

Each subsequent question contains a file upload related to that subject.

Each file upload question may include one or multiple files.

Required Behavior:

When the form is submitted:

  1. The system retrieves the subject name from the first question.

A new folder is created in OneDrive using the subject name.

Inside the subject folder:

A separate subfolder is created for each file upload question.

  Each subfolder is named **exactly after the corresponding question title**.

  
  All files uploaded in each question are:

  
     Automatically saved inside the matching **question-named subfolder**.
```### 

I have a Microsoft Form where:

The **first question** is used to select the **subject/course name**.

Each subsequent question contains a **file upload** related to that subject.

Each file upload question may include **one or multiple files**.

### Required Behavior:

###  

When the form is submitted:

The system retrieves the **subject name** from the first question.

A **new folder** is created in **OneDrive** using the **subject name**.

Inside the subject folder:

   A **separate subfolder** is created for **each file upload question**.
   
```yaml
  Each subfolder is named **exactly after the corresponding question title**.

  
  All files uploaded in each question are:

  
     Automatically saved inside the matching **question-named subfolder**.
```### OneDrive

└── Subjects

```dockerfile
└── Math 101

    ├── Lecture Notes

    │   └── uploaded files

    ├── Assignments

    │   └── uploaded files

    └── Exams

        └── uploaded files
Microsoft 365 and Office | Microsoft Forms | For business
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tamara-Hu 10,040 Reputation points Microsoft External Staff Moderator
    2026-01-04T14:26:41.2366667+00:00

    Hello @SAG unit Eng

    Good day! Thank you for posting your valuable question on the Microsoft Q&A forum. 

    Based on your description, this requirement involves creating dynamic folders and organizing uploaded files automatically, which is handled through Microsoft Power Automate (Flow) rather than Microsoft Forms alone. 

    Since this category focuses on Microsoft 365 products, and Power Automate is a separate service, to ensure you receive accurate and professional assistance, I recommend posting your question on the Microsoft Power Platform Community Forum: Microsoft Power Platform Community Forum Thread 

    User's image

    This forum is dedicated to Power Automate and has a highly qualified group of experts who can guide you in building a flow that retrieves the subject name, creates folders in OneDrive, and organizes files into subfolders based on question titles. 

    The reason for this redirection is that the Q&A forum has limited resources and knowledge about Power Automate, while the Power Platform Community is the best place to get quick and accurate help. Other members who regularly read the forum can also share their knowledge or learn from your interaction. 

    I'm truly sorry for any inconvenience this may cause. My goal is to ensure you receive accurate and helpful guidance, and in this case, the best way to achieve that is by directing you to a resource better suited for Power Automate-related questions.  

    Thank you for reaching out! Have a nice day and stay healthy!  


    If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

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