cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Post Prodigy
Post Prodigy

finding guest users?

I have a need of accessing guest users in my organisation....

 

is there a way to do this?

 

i have a sharepoint list and i want to find all guest users in a gallery or combobox.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Oskarkuus ,

 

The Guest Users can only be added in Azure Active Directory, there is no out-of-box to create  guest users in PowerApps..

Reference: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/share-app#share-with-guests 

If you want this feature, please submit an idea to PowerApps Ideas Forum.

Hope this helps.

Sik

View solution in original post

4 REPLIES 4
Super User II
Super User II

Are you trying to get Guest users in SharePoint or in your Active Directory?

For Active Directory
You can filter our guests users in your directory through graph API. such as

https://graph.microsoft.com/v1.0/users?$filter=userType eq ‘Guest’

Read more here about graph API: https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0
Community Support
Community Support

Hi @Oskarkuus ,

 

Try with Office365User.SearchUsers function, you can find that all guest users' UPN contain '#EXE#' string, so please try this code.

Filter(Office365Users.SearchUser(),"#EXT#" in UserPrincipalName)

Then the gallery only show all Guest Users.

Hope this helps.

Sik 

Well problem is that i also want to Add new guests. Not just access the current invited guests. If i add a brand new Email, i want that email to be invited as guest....

 

Im using Powerapps for  Micrisoft Team manager application - let user manage their own teams and let IT department manage all teams. Powerapps provide a nice search in all teams, find exact what teams a person is part of and change role and setting. We do not allow ppl to do changes to teams in Teams. We have a sharepoint list that controls all with a full sync built that mirrors the list several times a day. So if someone need to invite a new member then they need to make the changes in the app.

 

So i want the application to find current guests but also add new guests... I need to talk to the ppl working with the actuall sync and see if they can fix this if i just add mail-adresses to a column.

Hi @Oskarkuus ,

 

The Guest Users can only be added in Azure Active Directory, there is no out-of-box to create  guest users in PowerApps..

Reference: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/share-app#share-with-guests 

If you want this feature, please submit an idea to PowerApps Ideas Forum.

Hope this helps.

Sik

View solution in original post

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (48,059)