I have an app that has the function to add a calendar event to Outlook. The problem is, while adding the event works for me, it always gives an error and is not working for all users. Here is the code for the button that adds the event:
The problem seems to be the Timezone, since the code works perfectly without it. But if I don't put the Timezone in, the time of the event is wrong. I can't seem to find a list of Timezone formats that Powerapps supports. How do I fix this error? I live in Finland.
You mentioned that when you remove the timezone the event on the calendar is added with the wrong time. This means that the even time is set always 2 hours behind? Once Helsinki is UTC+2 at the moment.
If you use the function Now on powerapps do you get your local time as I do?
Yes, the time was two hours off if I used Now(). I fixed this, though. Did not change anything in the code, but I enabled some experimental features in the powerapps options. The error message disappeared after that and everything works as it should. 🙂