cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

How to get Active directory users

Hi Mates,

Hope you`r doing Good..!

 

How to get active directly users .?

what is the connections that needs to be configure in powerapps to connect AD users..?

 

Example: there are two controls(TextBox and Button)

when enter AD ID in textbox

onselect (button) need to get active directory user details.

 

by any chance if we have steps to follow kindly paste referance URL or any screen shots please.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: How to get Active directory users

Hi @kmk ,

Do you want to get Azure AD Directory Users within your canvas app?

 

Based on the needs that you mentioned, I think the Azure AD Connector could achieve your needs. If you want to use Azure AD connector in PowerApps app, you need to have a Azure AD account with sufficient permission.

Please check the following article for more details:

https://docs.microsoft.com/en-us/connectors/azuread/

 

I have made a test on my side, please take a try with the following workaround:

3.JPG

 

4.JPG

Firstly, you need to add the Azure AD connection within your app firstly. Then set the OnSelect property of the "Retrieve" button to following:

 

ClearCollect(UserDetail, AzureAD.GetUser(TextInput1.Text))

 

Add a Data Table, set the Items property to following:

 

UserDetail

 

When you press the "Retrieve" button, the corresponding user detail would be displayed within the Data Table.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Highlighted
Community Support
Community Support

Re: How to get Active directory users

Hi @kmk ,

Do you want to get Azure AD Directory Users within your canvas app?

 

Based on the needs that you mentioned, I think the Azure AD Connector could achieve your needs. If you want to use Azure AD connector in PowerApps app, you need to have a Azure AD account with sufficient permission.

Please check the following article for more details:

https://docs.microsoft.com/en-us/connectors/azuread/

 

I have made a test on my side, please take a try with the following workaround:

3.JPG

 

4.JPG

Firstly, you need to add the Azure AD connection within your app firstly. Then set the OnSelect property of the "Retrieve" button to following:

 

ClearCollect(UserDetail, AzureAD.GetUser(TextInput1.Text))

 

Add a Data Table, set the Items property to following:

 

UserDetail

 

When you press the "Retrieve" button, the corresponding user detail would be displayed within the Data Table.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Helper V
Helper V

Re: How to get Active directory users

Hey @v-xida-msft ,

 

Really thanks for your confirmation

once again thanks for your sample POC (efforts).

 

Yes we need to use Canvas apps to get Azure Ad Users details.

if possible just reply what permission i need.

 

Thanks,

kmk.

Highlighted
Helper V
Helper V

Re: How to get Active directory users

Hi @v-xida-msft ,

 

 

Can please clearly explain on below .

1.What permission required to access Ad Users from azure AD.

2. Datatable1 Columns(id, displayName, Jobtitle etc..) have you created or  columns inheriting from Azure Ad ..?

Or 

Can you please share the the .msapp file as attachment.

Thanks,

 

 

 

 

Highlighted
New Member

Re: How to get Active directory users

Hi , 

 

Can you please share the the .msapp file as attachment.

 

Thanks

Highlighted
New Member

Re: How to get Active directory users

Hi,

 

Can you please share the the . msapp file as attachment.

 

thanks

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Users online (6,853)