Hi,
Yes the Navigate function is no longer allowed for use within App.OnStart. To get deep linking working reliably now, you have to decouple the Routing (which screen to show) from the Data Loading (which record to fetch).
Here is the pattern to make this work with your Flow link:
1. Handle Routing (App.StartScreen)
Go to the App object in the tree view and find the StartScreen property. This is where you tell the app which screen to load first.
// If the ID param exists, go to Details, otherwise go Home
If(
!IsBlank(Param("EmpID")),
DetailsScreen,
HomeScreen
)
2. Handle Data (App.OnStart)
Use OnStart only to fetch the data into a variable. Since StartScreen determines the view, this logic ensures the data is ready when that view loads.
// If the ID param exists, fetch the record into a global variable
If(
!IsBlank(Param("EmpID")),
Set(varDeepLinkRecord, LookUp('YourDataSource', ID = Value(Param("EmpID"))))
)
Note: If your ID column is text or a GUID, you may not need the Value() wrapper.
3. Configure the Form/Gallery (Item Property)
On your DetailsScreen, select your Form (or Gallery) and set the Item property to use the variable. To allow the form to work for both Deep Linking AND normal in-app navigation, use Coalesce:
Coalesce(varDeepLinkRecord, YourBrowseGallery.Selected)
This approach resolves the "Navigate not allowed" error and ensures the specific record is loaded immediately upon opening the link from Power Automate.
Hope this helps!