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.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Keep up to date with current events and community announcements in the Power Apps community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!