
Hi all. I'm using the following code in OnVisible for the log in screen for my helpdesk app in power apps but I'm unable to login as admin:
Set(ShowAccessError,false);
ClearCollect(AllTickets,HelpDesk);
ClearCollect(TaskCategories,"Laptop/PC Equipment issue","Laptop/PC Software issue");
ClearCollect(TaskStatus,"NOT STARTED","IN PROGRESS","COMPLETED","DEFERRED","WAITING ON CSR");
ClearCollect(TaskPriority,"HIGH","MEDIUM","LOW");
ClearCollect(AdminList,"saharamin@tuskegee.edu");
Set(MyProfile,Office365Users.MyProfile());
Set(RunFlow,false)
i keep getting the error: "We were unable to give you access as an admin as your account does not have admin privileges." I am the admin and I'm logged into the same email as mentioned in the admin list