Expected Behavior
Create a new working "Leave Request" powerapp using the available office template
Current Behavior
The new app seems to have a problem locating the excel file source to retrieve and save data. From the login page the app keeps throwing multiple errors all of the same type as the following:
The specified record was not found. Server Response: Failed to read metadata from file source. Response from the end service is : Not Found clientRequestId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Possible Solution
Update the data source connection of the app?
Steps to Reproduce
- Open https://web.powerapps.com/ portal and select "Apps" on the left
- Create an app > Start with a blank canvas or a template > App templates > Tablet layout > Select the "Leave Request" template and click "Use"
- Follow the instructions in the following screens, like providing the required permissions to the app, until you are in the edit stage of the application
- File > Save as > The cloud (Save to PowerApps) > Give a name to your app
- Finally launch your application
- The applications opens the login screen throwing multiple error messages on the top of the page
Context (Environment)
All actions were made from a Windows 10 pc, using Microsoft Edge 40.15063.674.0
Detailed Description
The error seems to be the inability of locating the excel file that is used to read and write data. This can be seen not only while running the app, but also during the editing of the app.

The app has a connection to an excel file in my Onedrive for Bussiness. More specifically the following folder structure was created in my Onedrive automatically:
Documents > PowerApps > Templates > LeaveRequest_0c998dc8-7dac-f9b8-6041-05b72df2bf8d > data.xlsx
Something that may be of interest: After creating my app I can see it has App ID: 9a8df42d-1ef7-4228-b98e-111f7940b999. Which is totally different from the name of the folder holding the excel file. Could this be an issue? Maybe renaming the guid part of the folder to match my application's App ID could fix the problem? After a few tries it didn't seem to work.
Another interesting fact. In the edit screen after clicking on the error I get presented of another name of the excel file's tables. Like so:

This happens for the Balance, Holidays and Leave tables of the excel file. Even though selecting the alternative names seems to take care the error in the edit screen, when running the app again I still receive errors. Could it be that the app is cached? I made sure saving and publishing the app, but the errors keep poping up.
I cannot find any documentation on how to alter the existing data source to make sure that the app can locate the excel file. From the screens "CompanyHolidaysScreen" and "LeaveBalanceScreen" you can go and change the data source of the collections but this is not the best solution since one would have to locate all the data connections in all the screens of the app and manually change it. That kinda beats the whole purpose of creating an application from a predefined template.
I have spent the whole day reading the functions inside the screens and I have a good grasp of what each screen does and how it does it, but I have still not been able to load or write data to the app. Please provide us with a solid documentation that explains on how to update the data connections of the app or how to solve the "Failed to read metadata from file source issue"
Thank you