Forum Discussion
Anonymous
7 years agoNot applicable
Oauth2 credential error connecting to AlienVault API.
I am trying to setup a Oauth 2 token credential to retrieve the bearer token. Here is the code that I am currently using. This is based off the Twitter writeup on how to do this. /*
This M script...
Anonymous
6 years agoNot applicable
Try adding Content = Text.ToBinary("grant_type=client_credentials") to your second API request I suspect this is whats causing the issue.
PowerBI seems to require this when it does'nt understand your authentication model falls outside the availible options i.e. basic, Windows, etc .