Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

client credentials login gives 403 while accessing rest api

I am trying to get the rest api working on the powerbi . I was successfully able to login using the grant type as client_credentials . Here is my request data while creating token .

{
client_id:'my-client-id',
client_secret:'my-client-secret'
grant_type:'Client credentials'
}

I am successfully able to login and get token but when I use the response token from this api to get other api response . I get 403 error as a response when try to access the data . The following permission is given to my app but still I am getting 403 . Can anyone help me with this problem 

No Replies