Azure-Samples/active-directory-dotnet-native-headless

Error while running sample

sergsalo opened this issue · 4 comments

Hi,
I made no changes to the sample. Only followed the instructions on how to run the sample. I receive next error:
"Message: AADSTS90014: The request body must contain the following parameter: 'client_secret or client_assertion'."
Inner Exception: The remote server returned an error: (400) Bad Request.

just to add: I receive that error when trying to use "add" command. I have created a user in my tenant and I am using user's email and password in "add" command

it looks like you might have provisioned the application as a web app rather than a native application. Please make sure that you follow the setup instructions to the letter

ah... thanks!

Hi vibronet, I am having the same error, but I configured as a native application, exactly how it is in the instruction. Any thing else it could be?