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 / HTTP Post request to S...
Power Automate
Answered

HTTP Post request to Sharepoint give 401 unauthorized error

(0) ShareShare
ReportReport
Posted on by 45

Hi All,

Was trying to add users into sharepoint group via flows. and I followed these instructions in the picture below

 

I am the owner of the sharepoint group and i've set the group settings where everyone can see membership and group members can add users.

 

after testing i get a 401 unauthorized error:
401 UNAUTHORIZED
clientRequestId: 5bd64399-cd0c-4182-abde-1f39afc2df51
serviceRequestId: bcacb49f-907c-0000-a74a-94c3b10ddae8

 

 

 

Can anyone help me in this?

Capture.PNG

Categories:
I have the same question (0)
  • Verified answer
    annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @ctw1991 the Uri seems incorrect, you have _apiweb/sitegroups, it should be _api/web/sitegroups

  • ctw1991 Profile Picture
    45 on at

    @annajhaveri Great catch! it works perfectly now

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard