cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

The request body must contain the following parameter: 'client_assertion' or 'client_secret'

I am trying to get an authentication token for my app in order to push data through PowerBI API. When I run the c# script, I login to my MS account and my web app asks for permissions. After clicking accept, it returns the client assertion error. 

Why is this error popping up when I am registering a web app, not a native app. Is there any problem with the redirect URI? My homepage URL & Redirect URI are same.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: The request body must contain the following parameter: 'client_assertion' or 'client_secret'

Hi @ziyabikram96,

I'd like to suggest you take a look at following tutorial about invoke power bi rest API and get access tokens:

Get an authentication access token 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: The request body must contain the following parameter: 'client_assertion' or 'client_secret'

Hi @ziyabikram96,

I'd like to suggest you take a look at following tutorial about invoke power bi rest API and get access tokens:

Get an authentication access token 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!