cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lukey1111
New Member

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

as per https://powerusers.microsoft.com/t5/PowerApps-Forum/Cannot-read-property-location-of-null/m-p/55837#...

 

Hello.

 

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.

4 REPLIES 4
lukey1111
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.

 

Regards,

Michael

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!

 

Thanks!

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!)

 

prod-uksouth.azureedge.net/webplayer/iframeCordovaResources/plugins/cordova-plugins-bundle.js?v=RELEASE_2017W36-0.2.0.1334:356 exchangeAllPluginVersions succeeded
management.azure.com/providers/microsoft.powerapps/apis/shared_runtimeservice/connections/6f8f8aa039d5680ba22d39a6f39e1225?api-version=2017-07-01&%24expand=ConsentLink Failed to load resource: the server responded with a status of 403 (Forbidden)
management.azure.com/providers/microsoft.powerapps/apis/shared_runtimeservice/connections/558af1beb957d038e6539619e73f50c5?api-version=2017-07-01&%24expand=ConsentLink Failed to load resource: the server responded with a status of 403 (Forbidden)
management.azure.com/providers/microsoft.powerapps/apis/shared_runtimeservice/connections/1309b7e160942a211b30ad9c23201bc2?api-version=2017-07-01&%24expand=ConsentLink Failed to load resource: the server responded with a status of 403 (Forbidden)
europe-001.consent.azure-apim.net/firstPartyLogin?data=eyJMb2dpbklkIjoiZXVyb3BlLTAwMV9zaGFyZXBvaW50b25saW5lX3Rva2VuIiwiU2Vzc2lvbklkIjoiIiwiTG9nQ29ubmVjdGlvbklkIjoiOGE2NzM1MWQ1ZmQxNmYzNzcwMjFkMzFjNjUzM2Y3MWQiLCJEYXRhIjoiak9ncjRMWVFsM0JzUFg2TEcvUXZlaXVlZy8wcExNaW1EMzlDQllRb1Jla1FBTk9LK2QyQUFQdjA0Ty9oaWdaZDBJU1UvbE1xcDlEYm8vT3hmWGsxVUVDaWhCcmcrZDIycmw1OG9za1ZMOWZ6ZDdRY1ROd0c1TVFWeUlBUXU5U0hMelpaUTdveFgva0J1R25oMXNDRVkvZWU2ODRhSzFudldsQ1VQVG5WY3hiRHJyTkdLL215Z1FOZXc3OWludFZHNlBFcy9aNno2T2E3blhsYXRXVllWa2pLSks4eE5BdTRjRmlaakY5QTV0ejBkNnUza2w1c2szQU42UisxMWVzNFE0UVRQUmh2QmxqRisraEVVZ0pKbHhUYmxDT3l3QU5lWTJXWGdLeXJaeWI2cE5JMXJNSVpNTno3NE9wT2dxeVZoZVhZNkFGN09JeDlnTkkyQnBTYXJWd3BCdVpCQTlXQk1mQW93K1JvY29ZeTY1Qk9WNDM2R2JtQWk3SUF6MU1EdDVXaGdvdUVtQWVoUXQ4Smd1K3pkdGJ2VmFRQ0JMOFV1eGcwVCtGcGovRDFIVkxhRCs1WHVTekovaTBjWm9Md3ZSaWpVZGZnZ0FFdEJXN05WdjJxdGdlbGZqS2ZCdVBMREptOFhRR0ZKR1doWXhNZFZiZWZEdmJUQXhJcmM3RkZYZ3A0QTBzd1lHRnpZeXlCUE5YL0lFeC95amlhZDdsWHREd3d5OWVIbXkxWUJXb3UvMXdOVG9LWEJTdmVFNjg5MmhBPSJ9 Failed to load resource: the server responded with a status of 400 (Bad Request)
prod-uksouth.azureedge.net/webplayer/js/ai.0.js?v=RELEASE_2017W36-0.2.0.1334:113 AI: USRACT_StringValueTooLong message:"string value is too long. It has been truncated to 1024 characters." props:"{value:{\name\:\https://europe-001.consent.azure-apim.net/firstPartyLogin?data=eyJMb2dpbklkIjoiZXVyb3BlLTAwMV9zaGFyZ...}"
u.warnToConsole @ prod-uksouth.azureedge.net/webplayer/js/ai.0.js?v=RELEASE_2017W36-0.2.0.1334:113

 

 

Helpful resources

Announcements
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!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

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)