web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Copilot Studio - General
Suggested answer

Co-Pilot with private sharepoint and API access

(1) ShareShare
ReportReport
Posted on by 2
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.
 
Any help greatly appriciated,
 
Cheers!
Categories:
I have the same question (0)
  • Suggested answer
    Vinoth Selvam Profile Picture
    1,565 Super User 2025 Season 2 on at
    Co-Pilot with private sharepoint and API access
     
    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.

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 434 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 289 Super User 2025 Season 2

#3
CU15090955-0 Profile Picture

CU15090955-0 46

Last 30 days Overall leaderboard