Forum Discussion

TePe's avatar
TePe
Helper IV
6 years ago

OAUTH popup window error

Hi,

 

we're trying to load users from AAD into Power BI as described here: https://community.powerbi.com/t5/Desktop/Get-Data-Active-Directory/m-p/73792#M30680. This works fine with the Power BI Desktop. If I now try to move the same code to Data Flows I need to use an Organizational Account here as well. So the OAUTH window pops up and closes within a fraction of a second presenting the message that an error happened. 

 

What can I do?

 

Thanks,

 

 

Thomas

8 Replies

  • huntingtonog's avatar
    huntingtonog
    Frequent Visitor

    I was able to fix this by eliminating the last two parts of my url... "/sites/data" and retrying with Data Gateway: None and Organizational selected.


    The popup persisted instead of going away, I was able to sign in on the organizational account, then I was able to go back and add the "/sites/data" on my sharepoint folder URL and have it go through correctly.

    • Mass1221's avatar
      Mass1221
      Regular Visitor

      THIS WORKS!

       

      I use Dataflows with Power BI and Odata feed connections and no other solution works except this one, thanks!

  • v-eachen-msft's avatar
    v-eachen-msft
    Community Support

    Hi TePe ,

     

    What's the error message? You could provide a screenshot of the error or share the details of the error in text here.

     

    • TePe's avatar
      TePe
      Helper IV

      Hi,

       

      sorry for the late feedback... The exact error message is: There was an error in the OAuth popup window (Session ID: xxxxxxx). You see the popup window for a fraction of a second before it goes away and you see the following message:

      Thanks,

       

       

      Thomas

      • v-eachen-msft's avatar
        v-eachen-msft
        Community Support

        Hi TePe ,

         

        You could use "Basic" authentication instead of Organizational. Please check if it works.

         

  • Anonymous's avatar
    Anonymous
    Not applicable

    I'm trying to get information from SharePoint, so you don't need to use a gateway for that. In my case, I use the gateway to get the information from the on-premises server as well. The important thing is that after you specify None for the gateway field and leave the authentication type as your organization account, everything will run fine.

     

    J Wick