Copilot Studio Azure OpenAI with SharePoint Data Source
I n this post, we will see how to index SharePoint documents with Azure AI Search index and use it with an Azure Open AI model for chat playground. Curently, SharePoint data source is not available in the Azure AI Search UI but we can configure using REST API. This GPT model further can be integrated with Copilot Studio and deployed to various channels such as MS Teams. Prerequisites: SharePoint sites with documents Azure Entra Service Principal Azure AI Search (to create SharePoint as Data Source, Search Index and Indexer) Open AI Access Create Service Principal: We need to create an Azure Entra ID service principal to configure the SharePoint data source. In this case, Azure AI Search uses Graph API to access the SharePoint data. we use delegated permissions to configure app registration. You can can also use application permissions. You need to create client secret if you are using application permissions. Navigate to Azure Entra Id -> App Registrations -> Create App Registrat...