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 / AAD Guest Account - fi...
Power Automate
Unanswered

AAD Guest Account - find out if invite was accepted

(0) ShareShare
ReportReport
Posted on by

I have a flow that sends out an invitation, which is working well but now I need to add a condition before this action to check if the user previously accepted an invite (i.e. from another SharePoint site/content, etc.).

Need to prevent guest user from receiving another invitation when they've already accepted an older/previous invite. 

I tried the Azure connector Get User -- but it doesn't accept a guest email, only seems to accept internal users.
sendinvite.png

We pulled the properties from PowerShell and I guess in Power Automate, need to check the "UserState" status?
PS.png

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    11,681 Super User 2025 Season 2 on at

    Hi @Tamras ,

     

    You could try the following API:

     

    Snag_fed11bc.png

     

    https://graph.microsoft.com/beta/users?$filter=userType+eq+'guest'&$select=displayName,givenName,userType,externalUserState
    
    
    {
     "@odata.context": "https://graph.microsoft.com/beta/$metadata#users(displayName,givenName,userType,externalUserState)",
     "value": [
     {
     "displayName": "Adele Vance EXT",
     "givenName": "Adele",
     "userType": "Guest",
     "externalUserState": "Accepted"
     }
     ]
    }
    

     


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as ☑️ Solved.
    If you like my response, please give it a Thumbs Up.
    My Blog Site 

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