On App start:
Set(hasAccess,false);
If('PowerApp->SendanHTTPrequesttoSharePoint'.Run(EncodeUrl(User().Email)).hasaccess, Set(hasAccess,true));
If(hasAccess,Navigate(Screen1),Navigate(ErrorScreen));
the method for sendhttprequesttosharepoint works fine when I see the previous runs it returns true, however the redirect always redirects to the error screen. Am I missing something?

Report
All responses (
Answers (