Esri / storymap-series

The Story Map Series lets you present a series of maps via tabs, numbered bullets, or a side accordion.
Apache License 2.0
63 stars 59 forks source link

Error deploying private StoryMap on the same IIS where Enterprise web adaptors are located #45

Open AlejandroPeq opened 5 years ago

AlejandroPeq commented 5 years ago

We've customized a Story Map Series using this template.

The Story Map item is located on ArcGIS Enterprise 10.6.1 and it's private.

We've deployed the app in several IIS web servers and it works properly without any problem. But this is an exception we have found. If the template is deployed on a IIS web server and inside this web server is also located both web adaptors of the ArcGIS Enterprise where Story Map item is located .... then the app crashes showing the next message:

"An error has occurredYour account (admin) is not licensed to open a Story Map that is not public. Please ask your organization administrator to assign you a user type that includes Story Maps or an add-on Essential Apps license".

image

The app is the exact same in all the IIS web servers we have tested, and the unical difference, compared to the one that is not working ,is that ArcGIS Enterprise web adaptors are not installed on them. (Web adaptors of the ArcGIS Enterprise where Story Map item is located).

If we make this Story Map item public, then the app works perfectly in all conditions...

Could you please tell me what could be happening?

Thanks in advance

AlejandroPeq commented 5 years ago

We've deployed the template, in the same conditions, using an older version v.1.12.0 and it works, so something it's wrong with the latest release.

Thanks in advance

aravindesri commented 5 years ago

Hi @AlejandroPeq the latest release (v.1.14.0) is compatible with the December update of ArcGIS Online which now has the new User Type licensing model. Therefore, private stories that are created are being run to check if the user has a User Type that is part of Basic Essential Apps bundle.

Since Portal for ArcGIS 10.6.1 doesn't have this functionality yet (Coming in 10.7), this is not working with v1.14 and works on v1.12 where we don't run the check for User Types.

bbirbo commented 4 years ago

I am getting the same error although my AGOL admin said that my AGOL account has Essential Apps license.

I have setup an ESRI proxy.ashx in IIS where i have declared the

<serverUrl url="https://company.maps.arcgis.com" oauth2Endpoint="https://company.maps.arcgis.com/sharing/rest/oauth2/" clientId="l99999999999" clientSecret="4444444444444444444" rateLimit="600" rateLimitPeriod="60" matchAll="true"/>

This proxy works fine as all the JSONS calls to the https://company.maps.arcgis.com are returning data correctly.

Any ideas what else might be wrong.