Access Dataverse API on Azure using Username and Password
Question
Application Type
Reactive
Service Studio Version
11.10.16 (Build 40209)

Hi,

I have a need to integrate our existing applications with some of the Power Apps created at our client. They expose Dataverse API's, which I can successfully update via Postman, but when retrieving a token, the MS login screens pops up. 

This integration does not make use of the currently logged in user, it's a basic systems-to-system integration making use of a dedicated integration user.

Is it possible to integrate with the Azure AD by passing the username and password to get the token instead?

We currently make use of the Microsoft Connector plugin, which works well to manage all our users and app roles on Azure.

Hi Rudi,


You can get the access token without user interaction by setting API permission in the Azure application.

For further implementation notes, follow this presentation:

https://www.slideshare.net/OutSystems/integrate-outsystems-with-office-365

starting from the slide 17


Regards,

Hasan

Thanks Hasan,

This worked finally, even though I tried it before when it didn't, I noticed in the slide that retrieving a token is actually a POST action, then it worked perfectly.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.