I've been setting global variables (see examples below) in App OnStart for years. Yesterday (5/11/22), the variables stopped working in a new Power App that I'm developing. The variables still work in currently deployed apps - I'm afraid to edit any of them for fear the variables will break.
I've saved and published the app multiple times, closed and restarted Power Apps multiple times, rebooted, tried running vs. editing the Power App, and beseeched the Technology Gods to help me.
Is anyone else experiencing this issue?
Sample variables on App OnStart:
Set(
varAppVersion,
"V0.001.00 4/18/2022"
);
Set(
varCurrentUser,
User()
);
Set(
varManager,
Office365Users.Manager(User().Email).Mail);
Set(
varDepartment,
Office365Users.UserProfileV2(User().Email).department;
------------------------------
Lisa White
Senior IT Specialist
Herndon VA
703-709-7172
------------------------------