Hi Everyone,
I am working with the AzureDevOps.HttpRequest action in a PowerApp. I am able to make a POST call using this action to create a new project without a problem.
However, when I try to make a GET call to (for example) return a list of all the projects in an organization, I do not get a response. I am not sure where I am going wrong on this one.
To tell the complete story, I am including 2 images one of the expression and one of the response.
Thank you for your time and attention!
Sean
This is the call I am making to Azure DevOps
This is the response I am getting from Azure DevOps
Hi @panterra
Could you please navigate to Organization Settings-(Security)Policies, and check if the option “Third-party application access via OAuth” is turned on?
This issue is properly due to Azure DevOps, you would get even more help if you post your issue to Azure DevOps Developer Community.
The following is a similar thread for you reference:
Best regards,
Sik
Removed response
Hi @v-siky-msft ,
Thank you very much for your response. I verified the settings you recommended - still no luck.
I am not sure if this is a DevOps issue - I am able to successfully run this call using the same Connector and Action via MS Flow. Below are two screenshots - One is how I have setup this same action in MS Flow and the a second screenshot is of the response I get in MS Flow.
Here is the complete expression I am writing in PowerApps:
Pseudocode:
ClearCollect( collProjects, AzureDevOps.HttpRequest( varDevOpsAccount, "GET", "/_apis/projects?api-version=5.1", { Headers: collDevOpsHeaders, Body:"",IsBase64:false } ) )
Please let me know if you have any other thoughts around what may be causing this issue.
I think this may have to do with the way this connector performs wthin PowerApps vs. MS Flow - or how I am calling the Connector / Action from PowerApps. As the same action works in MS Flow
Thank you!
Hi, @v-siky-msft @v-bacao-msft Is there anyone who can confirm whether or not this is an issue with how I am using this connector in PowerApps?
Many thanks. If there is more information I can provide that would clarify details, please let me know!
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
275 | |
246 | |
84 | |
37 | |
33 |
User | Count |
---|---|
342 | |
246 | |
130 | |
73 | |
44 |