So I have a sharepoint List form that has a People/Group column, and I want to limit the number of options it shows, as of now it even shows the CEO of the company lol. Was trying the approach of having only the member below the country manager, was told with this command should go in Items property:
Office365Users.DirectReportsV2(User().Email).value
But that's producing so many errors... So maybe not the path, if you know what I'm doing wrong, do let me know.
Another way I thougth I could go is by limiting to the number of people that are members of the group this List is in. With ChatGPT i found this way:
Office365Groups.GroupMembers(GroupID).value
But also errors T_T So... I'd appreciate if you know how I can accomplish the limiting of the users that appear in the search of the ComboBox, populating it with users from the 365 enviroment.