If I create a co-pilot that makes use of a private sharepoint, I can no longer use the default login options, I need to switch to OAuth. If that I then want to make that co-pilot accessible via the API, i.e. create an Azure entry for my application and create a co-pilot API key, is it possible to authenticate with the API via my API key and it still have the OAuth creds? This does not seem to be covered, unless I'm missing something.
Copilot’s API access primarily supports API key-based authentication for general requests, but accessing resources like private SharePoint would still require the OAuth token flow for authorization since SharePoint permissions are typically managed through Azure Active Directory (AAD) and require OAuth-based access tokens.
If your Copilot actions need to run under individual user permissions , each user will still need to authenticate through OAuth. In this case, the API key provides initial access to your Copilot API, while OAuth handles data-specific permissions.
Thanks.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.