- First Set up managed identity for your Azure App Service:
https://learn.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=portal%2Cdotnet
- Grant the managed identity access to your Azure Cognitive Search service
Azure Cognitive Search > Access control (IAM) > Add role assignment > Cognitive Search Data Reader
- You'll need a back-end service that can handle requests from your Angular application and interact with Azure Cognitive Search using managed identity. You can create a simple API using Node.js, ASP.NET, or any other back-end framework.
- Use Azure Active Directory (Azure AD) to secure your back-end service
- Implement search functionality in your back-end service. You can use REST API to interact with your search service
https://learn.microsoft.com/en-us/rest/api/searchservice/
- Call your back-end service from the Angular application
Use HttpClient https://angular.io/guide/http and follow