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

Get the list of users

Hello!

 

How to get the list of users with whom the app was grouped within the app itself? It's possible?

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @daniellerodris ,

 

You may consider create an Office 365 group in Azure AD with security enabled to include all the users you want to share the app with. In the app, you will be able to retrieve all users' display name in that group with the help of Azure AD connector. Every time when you would like to share the app with another user, add the user into this group.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

 

 

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

8 REPLIES 8
cds
Impactful Individual
Impactful Individual

can you reword your question please?

@cds  Ok.

 

I have an app shared with some people. I need to get, inside the app, the names of these people (name saved in microsoft login).

cds
Impactful Individual
Impactful Individual

create a sharepoint list or excel document

 

On app start, patch the list with the Office365 connector MyProfileV2().displayName

@cds 

I need the displayName of all users who have access to the app, even if they have never signed in.

cds
Impactful Individual
Impactful Individual

oh, then just go to share the app and it will list all the people its been shared with

I need to get this list inside the app

cds
Impactful Individual
Impactful Individual

best bet is to build a sharepoint list with everyone its been shared with..

 

then as new users open app for first time, you can insert them into your User List if they aren't already on it.

 

 

v-jefferni
Community Support
Community Support

Hi @daniellerodris ,

 

You may consider create an Office 365 group in Azure AD with security enabled to include all the users you want to share the app with. In the app, you will be able to retrieve all users' display name in that group with the help of Azure AD connector. Every time when you would like to share the app with another user, add the user into this group.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

 

 

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,807)