cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
zmansuri
Super User
Super User

Office365User

Every tutorial i watch have Office365User on a individual ComboBox. I was using Sharepoint Person Type colum till now. And i'd like to move on to this connector. but, there are still some basic things i can't wrap my head around. I have a simple form which has a sharepoint as backend.

Column Name       Type

Name                     Text

POC                        Person

POCManager          Person

 

When i create a form in powerapps it will by default will give me combobox in datacard with sharepoint person type column logic inside it: Choices([@ListName].POC)

Should i change this code to office365User.SearchUser()    ?????

5 REPLIES 5
BCBuizer
Super User
Super User

No, since Sharepoint is already connected to this connector, you can retrieve any information via the form.

 

Only in case you'd like to perform other actions for which you are not going through your Sharepoint datasource, you can use this connector. 

 

More information on the use of Office 365 Users connector in PowerApps can be found here: 

 

Connect to Office 365 Users connection from Power Apps - Power Apps | Microsoft Docs



Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.

If i want to use office365 connector what will be the sharepoint column type to store that office365user i have selected in form?

BCBuizer
Super User
Super User

You have already selected the correct type: Person



Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.

I have 2 data card on form one for employee other for manager. Manager will be non editable. When a person selects employee his manager will be auto filled in manager datacard.

For that i am using defaultselected property of manager combobox as

Office365SearchUser.ManagerV2(Datacarad1.Selected.Id).

It shows error. Expected record type.

Try something like:

 

Office365Users.Manager(DataCardValue1.Selected.Email).mail

 



Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

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