I want to use this API as a Web module in Azure Data Factory [https://learn.microsoft.com/en-us/rest/api/datafactory/pipelineruns/querybyfactory
But it required me to get a bearer Token first in Authorization.
I'm try to set up a token request first in this link but no help. Any guidance is appreciated https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth-ropc