Issue with app service
I get this error when testing my Azure app
Error
There was an error generating a response. Chat history can't be saved at this time. Error code: 400 - {'error': {'requestid': 'bda40a95-59ee-402b-a54e-5127d9740613', 'code': 400, 'message': "Invalid AzureCognitiveSearch configuration detected: Call to get Azure Search index failed. Check if you are using the correct Azure Search endpoint and index name. If you are using key based authentication, check if the admin key is correct. If you are using access token authentication or managed identity of Azure OpenAI, check if the Azure Search has enabled RBAC based authentication and if the user identity or Azure OpenAI managed identity has required role assignments to access Azure Search resource [https://aka.ms/aoaioydauthentication]. If the Azure Search resource has no public network access, make sure enable trusted service of Azure Search.\nAzure Search Error: 403, message='Server responded with status 403. Error message: ', url='https://newentrant.search.windows.net/indexes/silly-date-lm1b9bdl9d?api-version=2024-03-01-preview'\nServer responded with status 403. Error message: "}}