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 / Power Automate / CheckUserGroup Flow fa...
Power Automate
Unanswered

CheckUserGroup Flow failing for one user only - BadRequest error in SharePoint connection

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey,

 

Please hlep me find the cause why my flow fails, unfortunatelly errors shown don't tell me much. I use standard CheckUserGroup flow to verify if user belongs to Sharepoint Group, and only for one user it fails (I've reasigned user access to SharePoint group and compared his access and privileges to different user which has no issue with runnig the flow).
Here is what I'm getting when trying user is running the flow:

MariuszKrajewsk_2-1615465342724.png

 

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,773 Most Valuable Professional on at

    Hi @Anonymous,

     

    Just to double check. You are using the Send an HTTP request to SharePoint action, correct?

     

    What is the URI for the GET request you are using. The screenshot is missing part of that URI. Is it something like below?

    _api/web/sitegroups/getByName('Group Name')/Users?$filter=Id eq 28

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, thanks for response, the URI is as below (and it works for 10 other people, only one user gives such an error every time he triggers workflow):
    _api/web/sitegroups/getByName('SharePointGroupName')/Users?$filter=Email eq 'usersemail@domain.com'

  • Expiscornovus Profile Picture
    33,773 Most Valuable Professional on at

    Hi @Anonymous,

     

    Is it possible that the specific user doesn't have an e-mail address in his SharePoint profile?

     

    Can you check this by using this URI and check if the Email field is empty?

     

    _api/web/sitegroups/getByName('@{variables('GroupName')}')/Users?$select=Id,Email,Title,LoginName

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Expiscornovus 

    I ran the URI you gave, and email field is filled with correct email address. What else can I verify?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard