Getting this error:
AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret
can anyone help me to solve this issue.
Asked
Active
Viewed 2,769 times
0

Jamal Basha
- 382
- 2
- 11
-
Please edit your question and share the code for sending the request. – Gaurav Mantri Jun 16 '21 at 11:54
-
Does this answer your question? [How do I resolve the error AADSTS70002: The request body must contain the following parameter: 'client\_secret' or 'client\_assertion'](https://stackoverflow.com/questions/45609432/how-do-i-resolve-the-error-aadsts70002-the-request-body-must-contain-the-follow) – TylerH Mar 10 '22 at 17:51
1 Answers
1

Carl Zhao
- 8,543
- 2
- 11
- 19
-
-
1@mroma95 Log in to Azure portal>azure ad>App registrations>your app>Certificates & secrets https://i.stack.imgur.com/BlOVr.png – Carl Zhao Jun 17 '21 at 05:57
-
1@mroma95 client id and tenant id :https://i.stack.imgur.com/ZDVxm.png – Carl Zhao Jun 17 '21 at 06:01
-
okey so i need to create new app, but i have other problem because i'm writing the app to scan OneDrive i want to get files but to do it i need access token(all libraries i found need access token), It's possible to get access token from other side without register the new app? Ideally will be if user will get username and password and my app will start scan – mroma95 Jun 17 '21 at 06:22
-
@mroma95 I think you must register the application in Azure AD, otherwise you will not be able to obtain an access token. – Carl Zhao Jun 17 '21 at 06:37
-
Let us [continue this discussion in chat](https://chat.stackoverflow.com/rooms/233873/discussion-between-mroma95-and-carl-zhao). – mroma95 Jun 17 '21 at 06:44