Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It failed to create Logic App Workflow with accessControl.triggers #16018

Open
neil-yechenwei opened this issue Sep 13, 2021 · 1 comment
Open
Labels
Logic App Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@neil-yechenwei
Copy link

neil-yechenwei commented Sep 13, 2021

After tested, I found api failed to create Logic App Workflow with accessControl.triggers and threw below error message. Per the error, I assume the openAuthenticationPolicies.type should be set to AAD while creating this resource with "Triggers". But after checked swagger, seems openAuthenticationPolicies.type is marked as read-only in swagger so that we cannot set it as AAD in request body. Service team confirmed it's a bug in swagger.

Error message:

logic.WorkflowsClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="OnlyAADOAuthTypeSupported" Message="OAuth authentication policy 'testpolicy1' in access control configuration of workflow is not valid. The 'type' property of authentication policy should be set to AAD."
@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Sep 13, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Sep 15, 2021
@ruowan ruowan added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. Service Attention Workflow: This issue is responsible by Azure service team. labels Sep 15, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Sep 15, 2021
@ghost
Copy link

ghost commented Sep 15, 2021

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/azure-logicapps-team.

Issue Details

After tested, I found api failed to create Logic App Workflow with accessControl.triggers and threw below error message. Per the error, I assume the openAuthenticationPolicies.type should be set to AAD while creating this resource with "Triggers". But after checked swagger, seems openAuthenticationPolicies.type is marked as read-only in swagger so that we cannot set it as AAD in request body. Service team confirmed it's a bug in swagger.

Error message:

logic.WorkflowsClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="OnlyAADOAuthTypeSupported" Message="OAuth authentication policy 'testpolicy1' in access control configuration of workflow is not valid. The 'type' property of authentication policy should be set to AAD."
Author: neil-yechenwei
Assignees: akning-ms
Labels:

Logic App, Service Attention, needs-triage

Milestone: -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Logic App Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

3 participants