Showing results for 
Search instead for 
Did you mean: 
New Member

"Cannot read property 'location' of null" when launching powerapp (prompts for sharepoint conn)

as per




I'm having the exact same issue with this thread above.


The powerapp works for me, but doesn't work for our end user.


They have permissions to access the sharepoint site and were also logged into the sharepoint site prior to launching the power app. All connections (including to Office365 connected, but the sharepoint side errored with :-


Cannot read property 'location' of null


Session ID: b31ce39d-63e3-35bd-9da7-314a8a9a2481


The sequence of events mirrored exactly what's been outlined above, which leads me to think that it's an error on the PowerApps side, rather than a set up issue on our side.


I'd appreciate any assistance that you may be able to provide.

New Member

Hi - anyone got any idea why this might be at all? Thanks!

Hi @lukey1111,


What is the permission configured for the other users?

Is that the same level as yours?

Take a try to modify the permission of other users to the same level as yours, then check to see if the issue still insists.




Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Michael.


Do you mean the sharepoint sites, or the powerapp itself?


The users can access the sharepoint sites in question no problem!



We gave the user permissions the same as me, still the same error. Interestingly the console log on the browser had entries like this:


(Pointing at a general azure making connection type error, rather than anything we've done!) exchangeAllPluginVersions succeeded Failed to load resource: the server responded with a status of 403 (Forbidden) Failed to load resource: the server responded with a status of 403 (Forbidden) Failed to load resource: the server responded with a status of 403 (Forbidden) Failed to load resource: the server responded with a status of 400 (Bad Request) AI: USRACT_StringValueTooLong message:"string value is too long. It has been truncated to 1024 characters." props:"{value:{\name\:\}"
u.warnToConsole @



Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Are Your Ready?

Test your skills now with the Cloud Skill Challenge.


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (66,385)