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.
Solved! Go to Solution.
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:
Hope this helps...
Hi @fmourtaza ,
Please reference to the official doc and bolg below:
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:
If you have more users, you could consider to create a custom connector based on Microsoft Graph REST API.
Please reference below blog:
If you have any further details, please let us know. Hope this help.
Check out the on demand sessions that are available now!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Features releasing from October 2020 through March 2021
Check out the Power Platform Community Highlights