Forum Discussion
The remote server returned an error: (401) Unauthorized.
Hi, everyone:
I have a powerbi question about Azure devops CI CD, I hope you can help solve it.
Now when I am making a CD, an error is reported when I push the file to powerbi, the error displays: The remote server returned an error: (401) Unauthorized .
The debug information displays: "# # [error] Exception calling" AcquireToken "with" 3 "argument (s):" AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'. "
How should we deal with this situation?
It has been stagnant for a long time. Thank you
2 Replies
- AnonymousNot applicable
Hi Anonymous ,
You can try the following:
1. If the clientId is from a "Server-side Web app", then specify an extra option -clientsercet. Otherwise register a "Native app" and use the clientid alone.
See Register with the Power BI App Registration Tool
2. You need to enable the addition setting called Default Client Type to Yes .
This is the related document, you can view this content:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
Hi yangliu,
As shown in the figure below, we can't access the AAD permission management page and configure the relevant permissions. Is it because we can't solve the problem mentioned above?
Are there any other solutions?
Without relevant authority, can't we solve this problem?
Whether admin permission is required.