Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Files that are uploaded through Microsoft Forms are stored in Microsoft SharePoint or in OneDrive for work or school, as follows:
- Files that are uploaded to group forms are stored in the document library on the Microsoft 365 group's SharePoint site.
- Files that are uploaded to individual forms are stored in the form author's personal OneDrive folder.
When you use the file upload functionality in Forms, you might receive an error message in the following scenarios:
- You try to add a file upload question to a form.
- You try to upload a file in response to a question.
These errors might occur if file uploads to SharePoint or OneDrive are blocked. This article lists some common error messages and the methods to fix the errors.
Error: We weren't able to create an upload file folder in OneDrive for Business
This error can occur for the following reasons:
- The Limited-access user permission lockdown mode site collection feature is enabled. This feature restricts sharing and access to files and folders.
- The People in your organization sharing links are disabled.
- Sharing files and folders is limited to site owners.
Resolution
To fix this error for an individual form that you create, sign in to your OneDrive for work or school website, and then follow these steps:
Disable the Limited-access user permission lockdown mode site collection feature, if it's enabled.
- Select the Settings icon in the upper-right corner of the screen.
- Select OneDrive settings > More Settings.
- Under Features and storage, select Site collection features.
- Locate Limited-access user permission lockdown mode. If its Status value is Active, select Deactivate, and then select Deactivate this feature on the confirmation page.
Enable the People in your organization sharing links if they're disabled.
Note: You must be a SharePoint Online administrator and a site collection administrator to run the following PowerShell commands in SharePoint Online Management Shell.
To check whether link sharing is disabled in your OneDrive site, run the following PowerShell command:
(Get-SPOSite <your OneDrive site URL>).DisableCompanyWideSharingLinks
If link sharing is disabled, run the following PowerShell command to enable company-wide link sharing for your OneDrive site:
Set-SPOSite -Identity <your OneDrive site URL> -DisableCompanyWideSharingLinks NotDisabled
Typically, the URL for a personal OneDrive site is in the following format:
https://<tenant name>-my.sharepoint.com/personal/<user principal name>
To fix this error for a group form, sign in to the Microsoft 365 group's SharePoint site, and then follow these steps:
Follow the steps in Enable or disable site collection features to disable the Limited-access user permission lockdown mode site collection feature, if it's enabled.
Enable the People in your organization sharing links if they're disabled.
Note: You must be a SharePoint Online administrator and a site collection administrator to run the following PowerShell commands in SharePoint Online Management Shell.
To check whether link sharing is disabled in the SharePoint site, run the following PowerShell command:
(Get-SPOSite <Group SharePoint site URL>).DisableCompanyWideSharingLinks
If link sharing is disabled, run the following PowerShell command to enable company-wide link sharing for the group's SharePoint site:
Set-SPOSite -Identity <Group SharePoint site URL> -DisableCompanyWideSharingLinks NotDisabled
Typically, the URL for a Microsoft 365 group's SharePoint site is in the following format:
https://<tenant-name>.sharepoint.com/sites/<group-name>
Note
If information barriers are enabled in your SharePoint site, company-wide link sharing is disabled if the mode is set to Owner Moderated, Implicit, or Explicit. In this case, change the information barriers mode to Open. To check the information barriers mode of your site, run the
Get-SPOSite <Group SharePoint site URL> | Select InformationBarriersMode
PowerShell command.Check whether site members can share files and folders. If they can't, follow these steps to update the sharing permission:
Sign in to the group's SharePoint site as a site owner.
Select Settings > Site permissions.
Under Site Sharing, select Change how members can share.
Under Sharing permissions, select one of the following options:
- Site owners and members can share files, folders, and the site. People with Edit permissions can share files and folders.
- Site owners and members, and people with Edit permissions can share files and folders, but only site owners can share the site.
Select Save.
Error: Failed to upload your file
This error might occur for either of the following reasons:
- The People in your organization sharing links are disabled.
- An individual form is moved to a group. This situation prevents files from being uploaded to the previous form owner's personal OneDrive site.
Resolution
To fix this error, use the appropriate method.
If the People in your organization sharing links are disabled
Enable the links by using the Set-SPOSite PowerShell command in SharePoint Online Management Shell.
Note: You must be a SharePoint Online administrator and a site collection administrator to run the following PowerShell commands.
For an individual form that you create, run the following PowerShell command:
Set-SPOSite -Identity <your OneDrive site URL> -DisableCompanyWideSharingLinks NotDisabled
To verify the status of link sharing, run the following PowerShell command:
(Get-SPOSite <your OneDrive site URL>).DisableCompanyWideSharingLinks
Typically, the URL for a personal OneDrive site is in the following format:
https://<tenant name>-my.sharepoint.com/personal/<user principal name>
For a group form, run the following PowerShell command:
Set-SPOSite -Identity <Group SharePoint site URL> -DisableCompanyWideSharingLinks NotDisabled
To verify the status of link sharing, run the following PowerShell command:
(Get-SPOSite <Group SharePoint site URL>).DisableCompanyWideSharingLinks
Typically, the URL for a group SharePoint site is in the following format:
https://<tenant-name>.sharepoint.com/sites/<group-name>
Note
If information barriers are enabled in your SharePoint site, company-wide link sharing is disabled if the mode is set to Owner Moderated, Implicit, or Explicit. In this case, change the information barriers mode to Open. To check the information barriers mode of your site, run the
Get-SPOSite <Group SharePoint site URL> | Select InformationBarriersMode
PowerShell command.
If an individual form is moved to a Microsoft 365 group
Delete the file upload questions, and then re-create them. The previously uploaded files remain on the previous form owner's OneDrive site.
After you re-create the file upload questions, the new questions will be linked to the group's SharePoint site, and all files will be uploaded to the SharePoint site.
Error: Access denied. You do not have permissions to perform this action or access this resource
This error might occur for either of the following reasons:
- You try to access the form by using an unmanaged device while SharePoint access is blocked for unmanaged devices.
- You try to access the form by using a new account that shares the user principal name (UPN) with a previously deleted account.
Resolution
To fix this error, use the appropriate method.
If you're using an unmanaged device while SharePoint access is blocked for unmanaged devices
Follow these steps as a SharePoint administrator:
In the SharePoint admin center, select Policies > Access control.
Select Unmanaged devices, and then select one of the following settings:
- Allow full access from desktop apps, mobile apps, and the web
- Allow limited, web-only access
If you're using a new account that shares the UPN with a previous account
Error: Uploaded file(s) is expired or broken, please upload your files again
This error occurs if the Require documents to be checked out before they can be edited setting is enabled in the OneDrive or SharePoint site.
Resolution
To fix this error for an individual form that you create, sign in to your OneDrive for work or school site, and then follow these steps:
- Select the Settings icon in the upper-right corner of the screen.
- Select OneDrive settings > More settings.
- Under Can't find what you are look for, select Return to the old Site settings page.
- Under Site Administration, select Site libraries and lists.
- Locate the library that stores the personal form, and then select Customize "<library name>".
- Under General Settings, select Versioning settings.
- Under Require Check Out > Require documents to be checked out before they can be edited?, select No.
- Select OK.
To fix this error for a group form, sign in to the Microsoft 365 group's SharePoint site, and then follow these steps:
- Select the library that stores the group form.
- Select the Settings icon in the upper-right corner of the screen.
- Select Library settings > More library settings.
- Under General Settings, select Versioning settings.
- Under Require Check Out > Require documents to be checked out before they can be edited?, select No.
- Select OK.
Error: You do not have access to create this folder or you do not have a valid license
This issue occurs if the New Folder command is disabled in the site settings. This situation would prevent you from creating folders in the document library where the form is stored.
Resolution
To fix this error for an individual form that you create, sign in to your OneDrive for work or school site, and then follow these steps:
- Select the Settings icon in the upper-right corner of the screen.
- Select OneDrive settings > More settings.
- Under Can't find what you are look for, select Return to the old Site settings page.
- Under Site Administration, select Site libraries and lists.
- Locate the library that stores the personal form, and then select Customize "<library name>".
- Under General Settings, select Advanced settings.
- Under Folders > Make "New Folder" command available, select Yes.
- Select OK.
To fix this error for a group form, sign in to the Microsoft 365 group's SharePoint site, and then follow these steps:
- Select the library that stores the group form.
- Select the Settings icon in the upper-right corner of the screen.
- Select Library settings > More library settings.
- Under General Settings, select Advanced settings.
- Under Folders > Make "New Folder" command available, select Yes.
- Select OK.