I have created an app which connects to SharePoint list on a team site. The app has buttons on a dashboard and access to each button is restricted using a access string read from the a user SharePoint list.
I recently changed my company within the organization and the admin have done some profile change to my O365 user account to match my new position. The app stop recognizing users, except users set as owners, and since the users are not recognized, the access control for the buttons does not work because the lookup() set up to read the SharePoint list does not work.
There are features in the app open for all like gallery displays are working without issues.
Can someone be able to through some light as to what could the issue?
Took a while to give my feedback as I was trying our various things as suggested. I can say that most part of app is working.
I am using the value from user().FullName to give selective access to various buttons on the app. As I see now for some users the value is picked up and for some it does not (or may taking a lot of time). The current user name is displayed on the opening screen or dashboard. For users who are not able to access the buttons, the current user name is not displayed, which means the User().fullname function is not working properly.