You may encounter this error when you are using the Power Apps Project Accelerator.
Error
You may encounter this error when you are using the Power Apps Project Accelerator
login.microsoftonline.com refused to connect.
Error: Grid taking a long time to load.
Cause:
This typically happens because the session on Project for the Web has expired.
Solution
Once you re-login into Project for the Web.