Building and customizing solutions using Microsoft 365 Copilot APIs and tools
Hello Edward,
This issue is caused by a schema mismatch between Agent Builder exports and the M365 Admin Center upload validator when local files are used as knowledge sources. The exported agent JSON includes an unsupported additional_search_terms field (set to null), which the Admin Center schema does not recognize, resulting in a validation error during upload. Agents without local files work because the field is omitted, and manually removing it resolves the issue.
This behavior indicates a platform bug rather than a configuration problem, with current workarounds being manual JSON cleanup or avoiding local file uploads.
We have reported this as a bug for further investigation.
We will keep you updated as soon as we receive further information. Thank you for bringing this to our attention!