matiman wrote:I tried connecting on both environments with visual studio (C#) and it works fine.
So I thought I missed some authentication code in power query...
Summary:
For sandbox -> Can't refresh
For primary -> Can't get an Azure AD token
Thank you for the response. I will post it in the Partner Center community.
When saying "it works fine", in visual studio do you call the same API as the power query code does, that is to say, you can get an token in C# but not in Power Query? In both enviroment, do you test with the same client_id and client_secrect?