I'm trying to request data from the Dataverse through the API.
I did the following:
grant_type=client_credentials
.I'm not sure how to add the "Azure App user" to the environment because there is none.
Also, I can successfully make the request if I get the bearer token using user/password, grant_type=password
, where this user is in the power apps environment.
Any idea on how can I solve this?
Ok,
I found the answer through this post, I am not able to connect to dataverse API through Logic Apps - Error: "The user is not a member of the organization."
We need to add the created azure application in the Application Users
menu (Enviorment -> Settings -> Users + permissions -> Application Users
)
Thank you!