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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Co-Pilot with private ...
Copilot Studio
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:
  • Suggested answer
    Vinoth Selvam Profile Picture
    1,597 Super User 2025 Season 1 on at
     
    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Copilot Studio

#1
11manish Profile Picture

11manish 113 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 83

#3
anirudhev Profile Picture

anirudhev 70

Last 30 days Overall leaderboard