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

Telephone Directory

Hello Folks,

 

I have got a requirement to develop a Telephone Directory using Power Apps - using the Office 365 connectors, Microsoft as provided many handy connectors such as Office365Users.SearchUser

 

My challenge is that the app has to work locally - Offline without internet access - means there has to be some local DB who will hold the Company data on each user's machine. In this case what would be the best possible approach? taking in consideration performance and syncing all the properties from the Active Directory...

 

Thanks in advance.

 

Regards. 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @EricRegnier 

 

This looks interesting - thanks for sharing.

 

Using this approach, all the data would be available locally on each user's device (whoever using the app) - right ? 

 

Regards.

View solution in original post

4 REPLIES 4
Super User II
Super User II

Hi @fmourtaza,

Since you need offline support, I would suggest to leverage Common Data Service (CDS) as the backend and a model-driven app which offers offline capabilities out-of-the-box. You can configure a Power Automate flow to get telephone data from Office 365 and upsert into CDS records.

You can refer to the following guide to setup offline. Even though it says Dynamics 365, it should be supported in CDS:

https://docs.microsoft.com/en-us/dynamics365/mobile-app/preview-setup-mobile-offline

Hope this helps...

Hi @EricRegnier 

 

This looks interesting - thanks for sharing.

 

Using this approach, all the data would be available locally on each user's device (whoever using the app) - right ? 

 

Regards.

View solution in original post

Microsoft
Microsoft

Hi @fmourtaza ,

 

Please reference to the official doc and bolg below:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/offline-apps

https://powerapps.microsoft.com/en-us/blog/implementing-offline-capability-in-your-app/ 

 

In an off-line app, we usually use local collections for data management. As you mentioned, you want to retrieve all properties from Azure AD. If there are a large quantity of users in the tenant, I’m afraid thumbnails would occupy the most of storage and take much time to upload/download which would affect the performance, so you'd better get rid of them.

 

Also, Office365Users.SearchUser method could get up to 1000 records. Please reference the doc to see limitations:

https://docs.microsoft.com/en-us/connectors/office365users/#known-issues-and-limitations 

 

If you have more users, you could consider to create a custom connector based on Microsoft Graph REST API.

 

Please reference below blog:

https://gotoguy.blog/2017/12/17/access-microsoft-graph-api-using-custom-connector-in-powerapps-and-f...

 

If you have any further details, please let us know. Hope this help.

 

Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Yes assuming you configured those entities to be available offline and the desired data to be available offline. Cheers

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Users online (7,111)