@suraj pawar vadeghar Thanks for asking question!
Error Detecting index schema from data source
This errors could be either because your search service is in private mode or because of the security configurations on your data sources (such as IP firewalls).
One good option is to use managed identities to connect to your data source.
There's articles showing how to do this for:
When you're using private endpoints, another good option is to create a shared private link between your data source and the search service.
Let me know.