Select to view content in your preferred language

Problem with External User Access

917
9
04-15-2024 05:50 AM
CTunni
by
New Contributor

I'm an external user with site collection admin rights on a SharePoint Online site.  I've had the ArcGIS for SharePoint app added to the app catalog and installed on the SP site.  However, when I add the webpart to a page I'm unable to configure it, I get the error below:-

Something went wrong

If the problem persists, contact the site administrator and give them the information in Technical Details.

TECHNICAL DETAILS
ERROR:
Script error for: 74d48445-8546-4cf0-a3ca-2e49279b3887_2023.3.2/ControlStrings
http://requirejs.org/docs/errors.html#scripterror

CALL STACK:
Error: Script error for: 74d48445-8546-4cf0-a3ca-2e49279b3887_2023.3.2/ControlStrings
http://requirejs.org/docs/errors.html#scripterror
at B (eval at e (https://res-1.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_499a70b3f6deac16be19e79809187a9...), <anonymous>:8:252)
at HTMLScriptElement.onScriptError (eval at e (https://res-1.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_499a70b3f6deac16be19e79809187a9...), <anonymous>:30:244)
 
 
 
Is this because I'm an external user, and if I get the webpart configured by somebody with access does this mean that no external site users will be able to see it?
0 Kudos
9 Replies
RaajRaaj
Esri Contributor

@CTunni - Thanks for reaching out to us on EC.

 

Would you be able to send me the version number of the app and if possible a screen recording of the steps to reproduce the bug?

Also, have you been able to add the web part in the past or is this the first time you are adding the ArcGIS web part?

 

Thanks,

Raaj

0 Kudos
CTunni
by
New Contributor

@RaajRaaj Unfortunately I can't send a screen recording as this is a client SP site.

 

I am not a tenant admin in their org so I sent installation video and instructions to the tenant admin.  The app was installed Version (2024.1.2.1666) and added to all sites.  I have created a modern page and added the ArcGIS for SharePoint webpart to the page. I edited the webpart and clicked "continue" to access public content only.  I saved the and published the page and saw the error message in my initial post.

All external users using B2B guest accounts are seeing this error message yet the internal users can see the public map inside the webpart.

I asked the tenant owner to create an internal user account for me which they have done and I can see the map, strangely I can now see the map when signed in with my B2B account.  I asked them if they had done something with my B2B account but they said they haven't.  Yet when I checked with all the other external users they still get the error shown in my initial post.

This seems like some sort of permission issue.  The external users have contribute access to the site so it's not a SharePoint site permission issue, I'm wondering if this is some kind of tenant permission elsewhere.

I'm really struggling to diagnose the problem because I only have SharePoint site collection admin rights to the site, I have tenant admin rights and I had to give step by step instructions to the tenant admin to install the app.

0 Kudos
MarkStraughan
New Contributor

Dear Raaj

We have the same problem. We've experimented extensively and have established as follows:

  1. We can successfully build a SharePoint website for a client
  2. We can successfully share access to the SharePoint site to an external party outside our Microsoft 365 Organisation
  3. The external party can see and use our SharePoint website but the page containing the ESRI ArcGIS webpart for viewing spatial data generates an error and the webpart is not visible
  4. The allocation of an ArcGIS Data Editor license to the third party has no impact on this
  5. The only way for any person to see and use the ESRI ArcGIS webpart on the SharePoint page is if that person is a subscription member of our MS 365 organisation. This means that they need an MS365 license under our domain. That in turn means that they need an email address under our domain.Webpart error screenshot.pngThat's a screen shot of the error message.
0 Kudos
RaajRaaj
Esri Contributor

@MarkStraughan - Thanks for reaching out to us on EC.

I can definitely look into this issue. I would need some additional information:

 

1. Have you tried adding a different 3rd party web part other than the ArcGIS web part to the SP page and was the external user able to access the page and the web part?

2. When you are sharing the SP page with the ArcGIS web part with the external user. are you making the SP page accessible to anonymous users or is the external user a part of another MS 365 org?

3. Finally, can you please send me the console log when you encounter this error message? You can send it to me privately.

 

I can promise that I will spend enough time to get to the bottom of this once I have the above information.

 

Thanks in advance.

 

Raaj

0 Kudos
RaajRaaj
Esri Contributor

@MarkStraughan - While doing some research online, I came across a question posted by a user who has run into a similar issue and there's a solution posted in the forum. Please let me know if this helps?

https://sharepoint.stackexchange.com/questions/307064/spfx-web-part-shows-an-error-when-viewed-by-ex...

0 Kudos
RaajRaaj
Esri Contributor

Hello @CTunni,

 

Thanks for sharing the details. The B2B account am assuming is a the MSFT account you use to sign in to SharePoint, right?

Also, can you please verify if the external users are able to access a site page with a MS list web part? I would like to see if this permission issue is specific to the ArcGIS web part or if its site level permission issue.

 

If you could send me a screen recording of the error and the SharePoint site permission screen, that would be great. That way I can try to reproduce it on my end. 

 

Thanks,

 

Raaj

0 Kudos
treehuggingsysadmin
New Contributor

@RaajRaaj - We are also experiencing the same issue although without the detailed error message. The map is viewable for internal users, but not external users who have the same group permissions. 

Was anyone else able to figure this out?  

sharepoingagolerror.png

0 Kudos
RaajRaaj
Esri Contributor

Hello @treehuggingsysadmin --

Thanks for posting your question on Esri Community. Can you try adding a SharePoint "list" web part and another 3rd party web part (if available) to a SharePoint page and have the external users access that page? I would like to see if its specific to the "ArcGIS" app/web part  or if its SharePoint site level access issue.

Please let me know if you have any questions. Thanks in advance.

 

Thanks & Regards,

Raaj

0 Kudos
RaajRaaj
Esri Contributor

@treehuggingsysadmin --

Also, please refer to this link --> https://sharepoint.stackexchange.com/questions/307064/spfx-web-part-shows-an-error-when-viewed-by-ex... and let me know if the steps provided there helps resolve the issue?

 

Thanks & Regards,

 

Raaj

0 Kudos