Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Offline first functionality in Power Apps mobile enables users to access and work with app data on their mobile devices without an active internet connection. This feature uses a local database on the device to store data. When your device is connected to a network, any writes made in the app sync to Dataverse immediately. If you perform updates while the network is offline, those changes sync automatically with Dataverse as soon as connectivity returns. Reads performed while the device is connected to the internet follow the sync frequency configured by the maker in the app’s offline settings. When the device transitions from no network to an active connection, read operations are triggered again to refresh data.
Offline profile
First, to create an offline-first app, maker must create the offline profile. The profile defines:
- Tables and columns available for offline use
- Optional filters to limit the data downloaded per table
- Relationships between tables for linked data access
After you create the profile, when you first open the app, the data for the offline profile downloads and stores locally on the device in a SQLite-based cache. This local copy becomes the primary data source for all app operations. Learn more about setting up offline for canvas apps in Set up mobile offline for canvas apps and about setting up offline for model-driven apps in Set up mobile offline for model-driven apps.
Data synchronization
The sync process keeps offline data up to date with Dataverse through automatic synchronization:
- Initial download: When the app first opens, all data defined in the offline profile is downloaded to the local device.
- Incremental updates: Subsequent down-syncs fetch only changes (inserts, updates, deletes) since the last sync, reducing data transfer.
- Configurable frequency: Makers can set down-sync intervals (every few minutes, hourly, or daily) for each table in the offline profile in the maker studio.
- Smart sync: If no changes are detected across tables, the down-sync is skipped to save bandwidth.
- Automatic resumption: When the mobile device reconnects to the network, the down-sync operation resumes automatically.
- Platform differences: On iOS, syncs happen only in the foreground. On Android, syncs that start in the foreground continue even when the app moves to the background.
Local storage and data access
All offline data is stored in a local database on the device, ensuring data availability regardless of network status.
Read operations: In an offline first app, the app reads from the local cache for all data operations, regardless of network connectivity. This includes viewing records, searching, and filtering data.
Write operations: Changes made when the network is offline are queued locally and pushed to Dataverse when connectivity is restored. Users can continue making modifications without interruption. Changes made when network is online are saved locally and instantly synced to Dataverse.
Data retention: Retention duration isn't fixed by the platform. Data persists as long as the app and offline profile remain installed on the device. There's no automatic expiry unless:
- The user clears the app cache or uninstalls the app
- The maker updates the offline profile, which can trigger a full refresh
- The user sign out of the app before the sync is complete
Maker controls and optimization
Makers have several tools to optimize data download, offline performance and control the offline experience:
- Column selection: Choose specific columns to minimize payload size and reduce download time
- Relationship configuration: Define parent-child table relationships for linked data access
- Sync frequency: Configure sync intervals and filters for each table individually
- Media settings: Configure which images and files should be downloaded for offline access
These controls allow makers to balance offline functionality with performance and storage constraints on mobile devices. Learn more about how to optimize offline profile in Optimize the offline profile
Building offline app screens
Screens in an offline-enabled app are built on top of the offline profile and should be designed with offline scenarios in mind:
Data binding: Controls such as galleries and forms bind to tables defined in the offline profile, ensuring data availability offline.
Conditional logic: Screens should handle offline scenarios by disabling actions that require live server calls, such as certain API integrations or real-time data operations.
Optimized layouts: Galleries and forms should show essential columns only, reducing load time and improving performance on mobile devices.
Write-back handling: Input controls queue changes locally and should display status indicators (for example, "Pending Sync") until connectivity returns and synchronization completes.
Offline-first design benefits
The offline-first architecture provides several advantages over traditional online-only applications:
- Faster load times: No round trips to the server for every screen or data query, resulting in near-instantaneous data access
- Consistent experience: Users interact with the same local dataset whether online or offline, eliminating connectivity-dependent behavior changes
- Reduced network dependency: Only sync operations hit the server, not every read operation, minimizing bandwidth usage and improving reliability
This design ensures that users can work productively in any network environment, from stable Wi-Fi connections to areas with intermittent or no connectivity.