To workaround the issue (seem like a bug, Azure AI Agent Service is still in public preview), you can manually create/connect an existing ai search to the project? if you use the Enter manually
option, the connection name field is free text. hope this will at least get rid of the error.