Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error: AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret' #123519

Open
fuad47 opened this issue Jun 25, 2024 · 3 comments

Comments

@fuad47
Copy link

fuad47 commented Jun 25, 2024

Embed Power BI for customers - sample embed error
I am trying to setup Embed Power BI for customers. I have setup all credentials in config.py file under AppOwnsData folder, completed all steps mentioned in documentation. Authentification mode is 'MasterUser'. When I run that flask app ('flask run'), I get this error in the browser:
AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.
this tip may help: according to my investigation, in aadservice.py file this line returns empty list:
accounts = clientapp.get_accounts(username=app.config['POWER_BI_USER'])-->returns empty list.

Server runs at address http://127.0.0.1:5000/ .
Azure authentication settings are as follows:

image_2024-06-25_122404836


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@PesalaPavan
Copy link
Contributor

@fuad47
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

@fuad47
Copy link
Author

fuad47 commented Jun 27, 2024

@PesalaPavan
Copy link
Contributor

@fuad47
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants