Hello @Zaheer. Sadaf (Enterprise Services)
This error usually occurs when the credentials used to access the resource are not authorized. To resolve this issue, please make sure that you have provided the correct credentials for your Azure Function in the credentials
section of your custom skill definition.
You can also check if the credentials have the necessary permissions to access the Azure Function. If the issue persists, you can try regenerating the credentials for your Azure Function and updating the custom skill definition accordingly.
Additionally, you can also check if the firewall settings for your Azure Function are configured correctly to allow access from the AI search indexer.
I hope this helps