Hey chrisfca,
While it's not strictly possible to do what you're describing with PowerApps, there are a few things you can play with, assuming your Active Directory is current with profile information such as department, phone number, manager etc.;
- You can allow users to search for people using Office365Users.SearchUser and get profile info such as department, phone number etc.
- You can list the people that report to that user using Office365Users.DirectReports
- You can show the person's manager using Office365Users.Manager
- You can provide a button to IM or call people based on this info using Launch()
While it's theoretically possible to 'crawl' up the organisation manager by manager up to the CEO and represent this structure, it's likely to be a bit of effort and not very easy for the user to navigate, so it comes down to what the primary purpose of your app is...what is the user story as they interact with it?
For dialling, there may be a few constraints (what browser you're using, what 'call' client is setup as default for the pc), but if you use Skype for Business and it's user-to-user they will see who's trying to call them - and here you can just use the Launch() function with an action as follows;
Launch("sip:" & varUserEmail) will start an IM, or you can call from there
Launch("tel:" & varUserTelephone & "?call") will attempt to call the person using whichever client is configured for dialling
Launch("skype:" & varUserEmail & "?call") to launch Skype (not Skype for Business) - although I haven't really played with this much.
varUserEmail = emil address of person you're trying to contact
varUserTelephone = Telephone number of the person you're trying to contact
If you want to automatically send an IM you can also use the Skype for Business connector.
Like I said, probably won't get you precisely where you want to be, but things to play with 🙂
Kind regards,
RT