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 / Retrieve information a...
Power Automate
Answered

Retrieve information about user from an active directory group that's inside a sharepoint group

(0) ShareShare
ReportReport
Posted on by 3

Hello,

 

I'm trying to user information via power automate from an AD group, but I get an "User not found" error. My understanding is that if the user has not logged in or he's permissions haven't been manually checked by pressing "Check Permissions" the user isn't initialized in sharepoint.

 

I tried to check if the user gets initialized by hitting this endpoint SITE_URL/_api/web/GetUserEffectivePermissions(@user)?@user=USER_EMAIL but it does not work the same as "Check Permissions" button. My question is if there's a way to initialize all users of an ad group either by using power automate or any other way.

 

Thank you for your answers.

Categories:
  • Verified answer
    SamLed Profile Picture
    2,340 Moderator on at

    Hi gjjkk22,

     

    I didn't get how you tried to get user because if you try to get it from AD, if it says user not found, that's either because user doesn't exist or you gave wrong identifier.

     

    However, if you're looking for a way to register a user in a SharePoint web, there is an API method called "EnsureUser", check out this topic for implementation: Ensure user method in Flows - Power Platform Community (microsoft.com)

    ______________________________________________________________

    If I have answered your question, please Accept the post as solution.
    If you like my response, please Thumbs Up.

      

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

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard