Hi Angela,
Thank you for querying in this forum.
We have checked your description, and we found that you have created a Microsoft Form in Microsoft Teams, then you tried exporting to Excel, however, it failed, you found the Excel file in SharePoint, after deleting it, you found no Excel file appears in SharePoint when you tried exporting replies again.
May I know if my understanding is right? If so, we have tested it on our side, we created a Microsoft form in Microsoft Teams, then we collected the response and click Open in Excel to export to Excel file, the related Excel file appeared in General folder under SharePoint document library, then we referred to the steps you provided to delete the file, if we click Open in Excel again, it will appear an error message, as shown below:
May I know if the scenario and steps above are consistent with yours? If so, we’d suggest you go to Microsoft forms in Teams > In your form on the Responses tab, select More options More options button > Select Sync all responses to a new workbook, as shown below:
Then you can go to SharePoint site document library to check if you can find the Excel file. For more details, you can refer to this article: How to get missing data in Forms
And we have tested it on our side and it works fine on our side, we can find the Excel file again under SharePoint Document library(Note: this Excel file now appeared next to general folder, you can check the whole document library to check if you can find this file), as shown below:
At the same time, you can also go to Office 365 portal > click Forms and find this Microsoft form, then you can use the steps we provided above to export to Excel again.
If the scenario and steps above are not consistent with yours, you can also post back and provide more details about your steps.
Best Regards,
Sukie