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 :
Power Platform Community / Forums / Copilot Studio / Co-Pilot with private ...
Copilot Studio
Unanswered

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,590 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 257 Super User 2025 Season 2

#3
Sam_Fawzi Profile Picture

Sam_Fawzi 84 Super User 2025 Season 2

Last 30 days Overall leaderboard