Forum Discussion
OAUTH popup window error
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.
- TePe6 years agoHelper 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-msft6 years agoCommunity Support
- TePe6 years agoHelper IV
Hi
Just tried... It asks me "Please specifiy how to connect". There's the button with "configure connection" where I can choose between anonymus, basic and "organizational account" authentication. When I use basic I can go and provide my user in the format [email protected] and provide my password. But no matter if I provide a correct or incorrect login it just jumps back and asks "Please specify how to connect".
Here's the M-Code I'm using.
letQuery = (MyDomain as text, MyGroup as text) =>letSource = Json.Document(Web.Contents("https://graph.windows.net/" & MyDomain & "/groups/" & MyGroup & "/members?api-version=1.6")),value = Source[value],fnGetGroupMember = Table.FromList(value, Splitter.SplitByNothing(), null, null, ExtraValues.Error)infnGetGroupMemberinQueryYes, not elegant, but it works in Power BI Desktop. Parameters you need is a domain and the GUID of a group you have there...THANKS & Best Regards,Thomas