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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Use Service Principal ...
Power Automate
Unanswered

Use Service Principal in Power Automate to access SharePoint REST API endpoints

(0) ShareShare
ReportReport
Posted on by 3
Hello Members,
I want to connect SharePoint REST API endpoints using Service Principal not Service Accounts but Not been successful so far in Power Automate. 
I've tried following the steps
Created Service Principal
Assign API Permissions for SharePoint
Grant SharePoint permissions to the Service Principal - [Not able to execute below step.
Set-SPOSite -Identity "https://[#####.sharepoint.com/sites/##]" -Owner "[App Id]@#####.onmicrosoft.com", Says - The login name was not found in the tenant.]
 
Once I can grant access to SharePoint, then I can proceed the next steps on Power Automate.
Add HTTP Action, Select Method as GET, configure authentication using OAuth 2.0 and further.
 
I know, I can achieve the same using Service Account, but it restricted for my client.
Can you please suggest if any alternative approach available.
 
Thanks
Categories:
I have the same question (0)

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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard