Select to view content in your preferred language

Recent ArcGIS for Power BI login issue

12750
28
Jump to solution
09-29-2021 05:29 PM
MarkWestergaard
Occasional Contributor

The recent 2021.1.91 update to ArcGIS for Power BI caused a login issue for me. The visual would prompt to "login below", but there was no login form to fill. I authenticate to my Enterprise server. I saw this post regarding CORS settings, ArcGIS for Power BI Maps not loading - Esri Community. I didn't have CORS settings on my Enterprise server, but I tried adding the recommended entries. That didn't change the behavior. I removed them and the ArcGIS for Power BI visual began presenting the login form and authenticating properly.

0 Kudos
28 Replies
by Anonymous User
Not applicable

Hi David,

It is pushed through Microsoft and if you hover over the Esri icon in the lower right, you should see version 2021.2.95. 

That said there are additional fixes coming this week on the 9th and that version will be 2022.1.98. A change log will be posted to Esri Community soon. Nothing major, just a handful of key issues resolved.

Andrew

0 Kudos
LHo
by
Regular Contributor

I am having the same issue I believe. Same issue across PowerBI in Chrome, Edge and the desktop app. Using the Portal URL, then selecting builtin account works fine, but using Enterprise login (AWS SSO) has a window open up but hangs. In DevTools I can see an invalid token error. 

What do you mean to 'Toggling CORS' exactly? How do I try this out?

by Anonymous User
Not applicable

Someone reported that changing the CORS setting on their web server fixed the issue. Its unclear why, but it worked for a few users. Do you see a CORS error in DevTools? I would recommend starting a new thread on this one.

LHo
by
Regular Contributor

When you say changing the CORS setting, would an example of this be removing all URLs from Allow Origins and re adding them in etc? 

0 Kudos
LHo
by
Regular Contributor

I see a token error in DevTools. In portal.sso.ap-southeast-2.amazonaws.com/token/whoAmI response (Fiddler) I see 

LHo_0-1644609990615.png

The URLs have been added in Portal Allow Origins section as per https://doc.arcgis.com/en/power-bi/get-started/enable-cors.htm

0 Kudos
BennyMeyns
Occasional Contributor

Hi LHo, Andrew,

We're struggling with the same CORS issue on our browsers. We want to use IWA with the Power BI service, but get the mentioned "blocked by CORS policy" error. (see also our previous post)

We're using IIS IWA with the ArcGIS portal webadaptor.

We're eager to the get this issue fixed, as it is the last obtacle to roll out the ArcGIS for Power BI addon in our organisation.

Should be great to share any progress on this IWA problem.

Benny

0 Kudos
by Anonymous User
Not applicable
0 Kudos
BennyMeyns
Occasional Contributor

Hi @Anonymous User , we double checked this. Our config has been set up as defined in the instructions https://doc.arcgis.com/en/power-bi/get-started/enable-cors.htm

Do you have any hint how we could investigate this further?

0 Kudos
BennyMeyns
Occasional Contributor

Hi @Anonymous User , we did some in-depth analysis on the IWA behaviour of the ArcGIS for Power BI plugin.

Our conclusion: fixing 5 lines of code in the init.js file on js.arcgis.com should fix the problem (https://js.arcgis.com/4.20/init.js).

I'm attaching some small report together with the fixed init.js file.
Could this please be picked-up by the ESRI development team, as it really needs only a minor fix.

Of course we are availble to give you further explanation of the detected problem (by e-mail, video call, etc..)

Benny

0 Kudos