Power App functions differently when run on the embedded version in our MS Teams environment
I have created a mileage report app which takes each item added and saves it to a collection, awaiting the final submission which emails all items on and clears the collection. All works perfectly when accessed through web.powerapps.com, therefore app complete (I thought) so embedded it within MS Teams for all users to access.
However.. Two feature which work perfectly when accessed through web.powerapps.com do not function the same when accessed though MS Teams:
1) A date picker field which is set to todays date (20/01/2020), when accessed through MS Teams changes to 01/08/2021. I have even tried manually setting a static start date on the app but when accessed through MS Teams it still somehow overwrites my scripting to set the starting date to 01/08/2021
2) A label which is used to show the user a currency value for the total miles added prior to submission for approval works perfectly on web.powerapps.com - However when the app is used through MS Teams the label completely disappears as if it where not there, and on other occasions it will stay on screen but not run the calculation it is set to default to? Text(Value(Sum(Mileage,Amount)),"[$-en-US]£#,##0.00")
I believe both of these issues are due to the regional settings of your 365 environment. Unfortunately you cannot change it without certain admin rights.
I had similar issues on sharepoint embeds so I did datevalue(field,"dd-mm-yyyy") and for currency markers set the sharepoint list to s specified currency (assuming you are using a sharepoint list to hold the data)