Have created an employee directory using the Office365Users connector, (have also tried groups, but external users couldn't see anything that way)
This powerapp is embedded in a SharePoint page
Tenant1 is the umbrella tenant that everyone is invited into using B2B direct connect (inbound settings configured for Tenant2 all access, all users)
Tenant2 is external, but belongs to Tenant1 company.
Tenant2 users have been invited into Tenant1 and their status is listed as Members instead of Guests (changed with powershell)
Tenant1 users see Tenant1 and Tenant2 users, app works great
Tenant2 users see Tenant2 users
Not sure what access to give Tenant2 users at this point (Directory Reader didn't seem to work)
Code below works for Tenant1, filters out share email and contacts
Filter(Office365Users.SearchUserV2({isSearchTermRequired: false,searchTerm: SearchBar.Text,top: 999}).value,
AccountEnabled = true And !IsBlank(JobTitle) And ("@tenant1.com" in Mail Or "@tenant2.com" in Mail))


Report
All responses (
Answers (